Skip to content

Commit

Permalink
fixed frontend in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Egge21M committed Jun 12, 2024
1 parent b81a802 commit 74e9857
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 npc

COPY --from=builder --chown=npc:nodejs /app/dist ./dist
COPY --from=builder --chown=npc:nodejs /app/npubcash-website/dist ./npubcash-website/dist
COPY --from=builder --chown=npc:nodejs /app/migrations ./migrations

USER npc
Expand All @@ -36,4 +37,4 @@ EXPOSE 8000
ENV PORT 8000


CMD HOSTNAME="0.0.0.0" node dist/index.js
CMD node dist/index.js

0 comments on commit 74e9857

Please sign in to comment.