Spaces:
Sleeping
Sleeping
Commit ·
697774c
1
Parent(s): 2121595
Fix: remove gunicorn for Hugging Face compatibility
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10.10
|
| 2 |
+
|
| 3 |
+
WORKDIR /home/app
|
| 4 |
+
|
| 5 |
+
COPY requirements.txt /dependencies/requirements.txt
|
| 6 |
+
RUN pip install -r /dependencies/requirements.txt
|
| 7 |
+
|
| 8 |
+
COPY . /home/app
|
| 9 |
+
|
| 10 |
+
CMD gunicorn app:app --bind 0.0.0.0:$PORT --worker-class uvicorn.workers.UvicornWorker
|