Skip to content

Commit

Permalink
fix: no config in production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed Feb 26, 2024
1 parent e49b42f commit 3bd3a70
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 @@ -37,7 +37,7 @@ RUN echo '{ \
sed -i -e "s/bin:x:1:/bin:x:2:/" /etc/group

COPY --chown=daemon:daemon --from=build /app /app
COPY --chown=daemon:daemon ./config/production-dist.js ./config/production.js
COPY --chown=daemon:daemon ./config/production-dist.js /app/config/production.js
WORKDIR /app
ENV NODE_ENV="production"
ENV PM2_HOME=/app/.pm2
Expand Down

0 comments on commit 3bd3a70

Please sign in to comment.