Skip to content

Commit

Permalink
Update Dockerfile CMD to include 'server' argument
Browse files Browse the repository at this point in the history
This commit updates the CMD in the Dockerfile to include the 'server'
argument when running the application.
  • Loading branch information
joone committed Apr 3, 2024
1 parent 2fc2f00 commit 0a7f080
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 @@ -7,4 +7,4 @@ COPY ./package.json /package.json
COPY ./package-lock.json /package-lock.json

RUN NODE_ENV=$NODE_ENV npm install
CMD ["node", "dist/index.js"]
CMD ["node", "dist/index.js server"]

0 comments on commit 0a7f080

Please sign in to comment.