Skip to content

Commit

Permalink
fix: build next before starting it (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimsucks committed Sep 27, 2024
1 parent 53eeef3 commit 740fac5
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 @@ -22,6 +22,6 @@ COPY --from=builder /app /app

EXPOSE 3000

CMD ["npm", "run", "build"]
RUN ["npm", "run", "build"]

CMD ["npm", "run", "start"]

0 comments on commit 740fac5

Please sign in to comment.