Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG NODE_VERSION=19.5.0
FROM node:${NODE_VERSION}-alpine

# Use production node environment by default.
ENV NODE_ENV production
ENV NODE_ENV=production


WORKDIR /usr/src/app
Expand Down Expand Up @@ -38,4 +38,4 @@ USER node
EXPOSE 3000

# Run the application in dev mode to use with Compose watch feature
CMD npm run dev
CMD ["nodemon", "server.js"]
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
depends_on:
- todo-database
environment:
NODE_ENV: production
NODE_ENV: development
ports:
- 3000:3000
- 35729:35729
Expand Down