Spaces:
Sleeping
Sleeping
add frontend to docker
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,7 @@ COPY --chown=user pyproject.toml ./
|
|
| 10 |
RUN pip install --no-cache-dir .
|
| 11 |
|
| 12 |
COPY --chown=user app ./app
|
|
|
|
| 13 |
|
| 14 |
# Start the app with Uvicorn
|
| 15 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 10 |
RUN pip install --no-cache-dir .
|
| 11 |
|
| 12 |
COPY --chown=user app ./app
|
| 13 |
+
COPY --chown=user frontend ./frontend
|
| 14 |
|
| 15 |
# Start the app with Uvicorn
|
| 16 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|