Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Apr 10, 2024
1 parent 6a616f3 commit 5eda00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ FROM base AS runner
WORKDIR /app
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nitro
COPY --from=builder /app .
COPY --from=builder /app/.output .
USER nitro
EXPOSE 3000
ENV PORT 3000
CMD ["npm", "run", "start"]
CMD ["node", "server/index.mjs"]

0 comments on commit 5eda00f

Please sign in to comment.