Update docker-compose.yml

This commit is contained in:
NotII
2025-03-08 23:55:41 +00:00
parent 31e9661334
commit 188a575050

View File

@@ -3,14 +3,14 @@ version: '3.8'
services:
nextjs-app:
build:
context: . # Ensure the build context is set to the project root directory
dockerfile: Dockerfile # Make sure it's pointing to the correct Dockerfile location
context: .
dockerfile: Dockerfile
container_name: nextjs-app-container
ports:
- "3000:3000" # Map container port 3000 to host port 3000
- "3000:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=https://internal-api.inboxi.ng/api
volumes:
- .:/app # Mount the entire project directory to /app inside the container
restart: unless-stopped
- volumes:
- - .:/app
restart: unless-stopped