fix: correction to Docker files

This commit is contained in:
Riccardo
2023-08-30 20:53:42 +02:00
parent 0f1f9ec7d8
commit a36daaaec3
6 changed files with 28 additions and 16 deletions

View File

@@ -5,13 +5,11 @@ services:
build:
context: ./
dockerfile: Dockerfile
image: backend_image
image: backend
container_name: backend
restart: unless-stopped
ports:
- '3000:3000'
volumes:
- .:/app
environment:
- PORT=3000
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres