Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -26,5 +26,9 @@ WORKDIR $HOME/app
|
|
26 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|
|
|
|
|
|
|
|
|
29 |
## Start the FASTAPI App on port 7860
|
30 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
26 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|
29 |
+
|
30 |
+
# Verify files copied correctly by listing them
|
31 |
+
RUN ls -la $HOME/app
|
32 |
+
|
33 |
## Start the FASTAPI App on port 7860
|
34 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|