Spaces:
Sleeping
Sleeping
- fix websocket by exposing port 7860
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,10 @@ RUN mkdir -p /app/cache /app/hf_cache
|
|
| 13 |
RUN python -c "from transformers import pipeline; pipeline('zero-shot-classification', model='MarfinF/marfin_emotion')"
|
| 14 |
|
| 15 |
COPY . .
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 13 |
RUN python -c "from transformers import pipeline; pipeline('zero-shot-classification', model='MarfinF/marfin_emotion')"
|
| 14 |
|
| 15 |
COPY . .
|
| 16 |
+
COPY frontend ./frontend
|
| 17 |
+
COPY music ./music
|
| 18 |
+
|
| 19 |
+
EXPOSE 7860
|
| 20 |
|
| 21 |
|
| 22 |
CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"]
|