Spaces:
Sleeping
Sleeping
Commit
·
e464f8b
1
Parent(s):
27306dd
..
Browse files- app/Dockerfile +4 -0
app/Dockerfile
CHANGED
@@ -17,5 +17,9 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
17 |
# Copy the rest of the application code from the host to the container
|
18 |
# Again, ensure the copied files are owned by 'user'
|
19 |
COPY --chown=user . /app
|
|
|
|
|
|
|
|
|
20 |
# Specify the command to run when the container starts
|
21 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
17 |
# Copy the rest of the application code from the host to the container
|
18 |
# Again, ensure the copied files are owned by 'user'
|
19 |
COPY --chown=user . /app
|
20 |
+
|
21 |
+
# Add a debug command to check file location (remove this once verified)
|
22 |
+
RUN ls -l /app
|
23 |
+
|
24 |
# Specify the command to run when the container starts
|
25 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|