Spaces:
Sleeping
Sleeping
Commit
·
e4d76a0
1
Parent(s):
245a70d
change app.app to app
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,7 +21,7 @@ COPY --chown=user . /app
|
|
21 |
RUN ls -l /app
|
22 |
|
23 |
# Specify the command to run when the container starts
|
24 |
-
CMD ["uvicorn", "app
|
25 |
# Pass the secret variable to the application
|
26 |
|
27 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
|
|
|
21 |
RUN ls -l /app
|
22 |
|
23 |
# Specify the command to run when the container starts
|
24 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
25 |
# Pass the secret variable to the application
|
26 |
|
27 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
|