deployment for Docker

This commit is contained in:
gabrielkheisa
2024-04-08 00:37:38 +07:00
parent 11eb8aa2e5
commit 82ee4813fa
4 changed files with 33 additions and 5 deletions

View File

@@ -22,8 +22,5 @@ WORKDIR /usr/src/app
# Copy the built artifacts from the builder stage to the production stage
COPY --from=builder /usr/src/app .
# Expose the port the app runs on
EXPOSE 3000
# Command to run the application in the production stage
CMD ["node", "index.js"]