Skip to content

Commit

Permalink
chore: fix .env.vault
Browse files Browse the repository at this point in the history
  • Loading branch information
zjffun committed Sep 10, 2023
1 parent 63d9195 commit d134aaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ COPY --chown=node:node yarn.lock ./
COPY --chown=node:node tsconfig.json ./
COPY --chown=node:node tsconfig.build.json ./
COPY --chown=node:node nest-cli.json ./
COPY --chown=node:node .env.vault ./
COPY --chown=node:node src ./src

ENV NODE_ENV production
Expand All @@ -45,6 +44,9 @@ USER node

FROM node:18-alpine As production

WORKDIR /usr/src/app

COPY --chown=node:node .env.vault ./
COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/dist ./dist

Expand Down

0 comments on commit d134aaa

Please sign in to comment.