astacn commited on
Commit
cce7b31
·
verified ·
1 Parent(s): b02211a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
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,4 +11,8 @@ RUN pip install -r requirements.txt
11
 
12
  COPY. /app/
13
 
14
- CMD ["python", "app.py"]
 
 
 
 
 
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"]