Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: docker secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude authored Jun 30, 2024
1 parent db09211 commit be0e7bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ COPY package*.json ./
RUN npm ci --omit=dev --ignore-scripts
COPY . .

RUN --mount=type=secret,id=MONGO,target=./.env npm run build

RUN npm run build

CMD ["npm", "start"]

0 comments on commit be0e7bb

Please sign in to comment.