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

Commit

Permalink
fix: remove a secret copying step in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradumnasaraf authored Aug 12, 2024
1 parent b4f9631 commit 7ab64d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN npm ci --ignore-scripts
COPY . .

RUN npx prisma generate && ls -la
RUN --mount=type=secret,id=POSTGRES,target=./.env npm run build
RUN npm run build

# Production image
FROM node:${NODE_VERSION} AS production
Expand Down

0 comments on commit 7ab64d2

Please sign in to comment.