From 188a575050b83ec5e85c097cc5756e20c6b50433 Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Sat, 8 Mar 2025 23:55:41 +0000 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3015dfc..7ac216b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file