update: docker file to include keys in image
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-01 16:37:04 +03:30
parent 8adea37c18
commit 3bdb303101
2 changed files with 69 additions and 1 deletions
+2 -1
View File
@@ -34,9 +34,10 @@ RUN addgroup -S appgroup && adduser -S appuser -G appgroup
WORKDIR /app
# Copy only production node_modules and build output
# Copy only production node_modules, build output, and JWT keys
COPY --from=prod-deps --chown=appuser:appgroup /temp-deps/node_modules ./node_modules
COPY --from=builder --chown=appuser:appgroup /build/dist ./dist
COPY --from=builder --chown=appuser:appgroup /build/keys ./keys
COPY --chown=appuser:appgroup package.json ./
RUN chown -R appuser:appgroup /app