Spaces:
Sleeping
Sleeping
Sunrusojsis
commited on
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -6,6 +6,7 @@ WORKDIR "/app"
|
|
6 |
RUN pip install -r requirements.txt
|
7 |
# RUN mkdir -p /data && chmod -R 755 /data
|
8 |
# VOLUME /data [new version ]
|
9 |
-
EXPOSE
|
10 |
|
11 |
-
|
|
|
|
6 |
RUN pip install -r requirements.txt
|
7 |
# RUN mkdir -p /data && chmod -R 755 /data
|
8 |
# VOLUME /data [new version ]
|
9 |
+
EXPOSE 7860
|
10 |
|
11 |
+
# Run the command to start Uvicorn
|
12 |
+
CMD ["uvicorn", "proxy:app", "--host", "0.0.0.0", "--port", "7860"]
|