build error fixes

This commit is contained in:
2025-10-09 23:26:44 +05:30
parent 83346d0031
commit 150c5a0391
2 changed files with 21 additions and 13 deletions

View File

@ -2,14 +2,13 @@ version: "3.9"
services:
nextjs:
build:
context: .
args:
NEXT_PUBLIC_API_URL: https://cmcbackend.rootxwire.com
build: .
container_name: cmc_nextjs_pro
ports:
- "9012:3000"
environment:
NODE_ENV: production
NEXT_PUBLIC_API_URL: https://cmcbackend.rootxwire.com
env_file:
- .env # <-- tell Docker to use the .env file
restart: unless-stopped
volumes:
- .:/app
- /app/node_modules