Skip to content

Commit 7219415

Browse files
authored
fix: properly install dotenvx (#14)
Co-authored-by: liteless <65517797+liteless@users.noreply.github.com>
1 parent ecee693 commit 7219415

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ RUN corepack enable
55
COPY . /app
66
WORKDIR /app
77

8-
RUN curl -sfS https://dotenvx.sh/install.sh | sh
98

109
FROM base AS deps
1110
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm fetch --frozen-lockfile
@@ -17,6 +16,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
1716
RUN pnpm run build
1817

1918
FROM base
19+
RUN curl -sfS https://dotenvx.sh/install.sh | sh
2020
COPY --from=deps /app/node_modules /app/node_modules
2121
COPY --from=build /app/dist /app/dist
2222
ENV NODE_ENV="production"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
},
2626
"devDependencies": {
2727
"@eslint/js": "^9.26.0",
28+
"@types/node": "^25.0.6",
2829
"eslint": "^9.26.0",
2930
"prisma": "^6.5.0",
3031
"tsup": "^8.4.0",

pnpm-lock.yaml

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)