Skip to content

Commit

Permalink
improvements and fixes: update Docker configuration for development e…
Browse files Browse the repository at this point in the history
…nvironment and adjust command execution
  • Loading branch information
LeonardoMeireles55 committed Feb 6, 2025
1 parent dd307c6 commit 0bb6154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ RUN npm run build
FROM base AS runner
WORKDIR /app

ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1

# RUN addgroup --system --gid 1001 nodejs
Expand Down
21 changes: 2 additions & 19 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,7 @@ services:
ports:
- '3000:3000'
environment:
- NODE_ENV=production
volumes:
- qualitylab_node_modules:/app/node_modules
- qualitylab_public:/app/public
- NODE_ENV=development
stdin_open: true
tty: true
command: ['npm', 'start']
networks:
- qualitylab-net

volumes:
qualitylab_node_modules:
qualitylab_public:

networks:
qualitylab-net:
name: qualitylab-net
driver: bridge
attachable: true
driver_opts:
com.docker.network.bridge.name: qualitylab-net
command: ['node', './server.js']

0 comments on commit 0bb6154

Please sign in to comment.