Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
# you will also find guides on how best to write your Dockerfile
|
| 3 |
|
| 4 |
FROM python:3.9-slim
|
|
@@ -11,4 +11,8 @@ RUN pip install -r requirements.txt
|
|
| 11 |
|
| 12 |
COPY. /app/
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
# you will also find guides on how best to write your Dockerfile
|
| 3 |
|
| 4 |
FROM python:3.9-slim
|
|
|
|
| 11 |
|
| 12 |
COPY. /app/
|
| 13 |
|
| 14 |
+
RUN apt-get update && apt-get install -y supervisor
|
| 15 |
+
|
| 16 |
+
COPY supervisord.conf /etc/supervisor/conf.d/
|
| 17 |
+
|
| 18 |
+
CMD ["supervisord", "-n"]
|