Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,7 @@ WORKDIR /app/frontend
|
|
| 3 |
COPY frontend/package.json ./
|
| 4 |
RUN npm install
|
| 5 |
COPY frontend/ ./
|
|
|
|
| 6 |
RUN npm run build
|
| 7 |
|
| 8 |
FROM python:3.11-slim
|
|
|
|
| 3 |
COPY frontend/package.json ./
|
| 4 |
RUN npm install
|
| 5 |
COPY frontend/ ./
|
| 6 |
+
# rebuild frontend with updated API_BASE
|
| 7 |
RUN npm run build
|
| 8 |
|
| 9 |
FROM python:3.11-slim
|