Spaces:
Sleeping
Sleeping
Commit
·
245a70d
1
Parent(s):
241829f
add debug command
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: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
|
|
|
|
| 21 |
RUN ls -l /app
|
| 22 |
|
| 23 |
# Specify the command to run when the container starts
|
| 24 |
+
CMD ["uvicorn", "app.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
|