fix: add env args to Dockerfile

This commit is contained in:
Yarmo Mackenbach 2024-01-27 21:51:59 +01:00
parent 1f3c47af2b
commit 7416912197
No known key found for this signature in database
GPG key ID: C248C28D432560ED

View file

@ -11,6 +11,9 @@ RUN yarn run build:static
FROM node:20-alpine FROM node:20-alpine
ARG CI_COMMIT_SHA
ARG CI_COMMIT_BRANCH
WORKDIR /app WORKDIR /app
COPY --from=builder /app/package.json /app/package.json COPY --from=builder /app/package.json /app/package.json
COPY --from=builder /app/dist /app/dist COPY --from=builder /app/dist /app/dist