Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.9-slim
|
3 |
|
4 |
# Set the working directory in the container
|
@@ -32,5 +31,5 @@ EXPOSE 7860
|
|
32 |
COPY start.sh start.sh
|
33 |
RUN chmod +x start.sh
|
34 |
|
35 |
-
# Start services
|
36 |
-
CMD ["/
|
|
|
|
|
1 |
FROM python:3.9-slim
|
2 |
|
3 |
# Set the working directory in the container
|
|
|
31 |
COPY start.sh start.sh
|
32 |
RUN chmod +x start.sh
|
33 |
|
34 |
+
# Start services with Supervisor
|
35 |
+
CMD ["/usr/bin/supervisord"]
|