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

Commit be0e7bb

Browse files
authored
fix: docker secrets
1 parent db09211 commit be0e7bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ COPY package*.json ./
66
RUN npm ci --omit=dev --ignore-scripts
77
COPY . .
88

9+
RUN --mount=type=secret,id=MONGO,target=./.env npm run build
10+
911
RUN npm run build
1012

1113
CMD ["npm", "start"]

0 commit comments

Comments
 (0)