Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
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 |
|
@@ -13,4 +16,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
COPY --chown=user . /app
|
16 |
-
CMD ["
|
|
|
1 |
+
delete
|
2 |
+
|
3 |
+
448 Bytes
|
4 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
5 |
# you will also find guides on how best to write your Dockerfile
|
6 |
|
|
|
16 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
17 |
|
18 |
COPY --chown=user . /app
|
19 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|