Nomio4640 commited on
Commit
ec3436e
·
1 Parent(s): 918f7f7

fix(docker): remove NEXT_PUBLIC_API_URL hardcoding to fix double /api routing

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -4,8 +4,7 @@ WORKDIR /app/frontend
4
  COPY frontend/package*.json ./
5
  RUN npm ci
6
  COPY frontend/ ./
7
- #ENV NEXT_PUBLIC_API_URL=http://localhost:8000
8
- ENV NEXT_PUBLIC_API_URL=/api
9
  RUN npm run build
10
 
11
  FROM python:3.11-slim
 
4
  COPY frontend/package*.json ./
5
  RUN npm ci
6
  COPY frontend/ ./
7
+
 
8
  RUN npm run build
9
 
10
  FROM python:3.11-slim