Spaces:
Sleeping
Sleeping
fix(docker): remove NEXT_PUBLIC_API_URL hardcoding to fix double /api routing
Browse files- 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 |
-
|
| 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
|