Spaces:
Running
Running
update dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -16,12 +16,12 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 16 |
WORKDIR /app
|
| 17 |
|
| 18 |
# Copy backend requirements
|
| 19 |
-
COPY backend/requirements.txt /app/requirements.txt
|
| 20 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 21 |
|
| 22 |
# Copy backend and frontend
|
| 23 |
-
COPY backend/ /app/backend/
|
| 24 |
-
COPY frontend/ /app/frontend/
|
| 25 |
|
| 26 |
# Build frontend
|
| 27 |
WORKDIR /app/frontend
|
|
|
|
| 16 |
WORKDIR /app
|
| 17 |
|
| 18 |
# Copy backend requirements
|
| 19 |
+
COPY --chown=user backend/requirements.txt /app/requirements.txt
|
| 20 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 21 |
|
| 22 |
# Copy backend and frontend
|
| 23 |
+
COPY --chown=user backend/ /app/backend/
|
| 24 |
+
COPY --chown=user frontend/ /app/frontend/
|
| 25 |
|
| 26 |
# Build frontend
|
| 27 |
WORKDIR /app/frontend
|