Skip to content

Commit f544dea

Browse files
feat: add app-config.production.yaml to the dockerfile
1 parent d540e57 commit f544dea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ COPY --from=build --chown=node:node /app/packages/backend/dist/bundle/ ./
7171

7272
# Copy any other files that we need at runtime
7373
COPY --chown=node:node app-config.yaml ./
74+
COPY --chown=node:node app-config.production.yaml ./
7475

7576
# This switches many Node.js dependencies to production mode.
7677
ENV NODE_ENV production
7778

78-
CMD ["node", "packages/backend", "--config", "app-config.yaml"]
79+
CMD ["node", "packages/backend", "--config", "app-config.yaml", "--config", "app-config.production.yaml"]

0 commit comments

Comments
 (0)