fix: update Docker Compose version and correct command syntax

This commit is contained in:
2026-02-22 00:34:46 +01:00
parent 77702f79cc
commit ba101be745

View File

@@ -1,9 +1,15 @@
version: '3' version: '3.8'
services: services:
app: app:
build: . build: .
container_name: nodejs-app
ports: ports:
- "3000" - "3000"
environment:
- NODE_ENV=development
volumes: volumes:
- .:/app - .:/app
command: npm run start - /app/node_modules
working_dir: /app
command: npm start