Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -29,6 +29,7 @@ WORKDIR $HOME/app
|
|
29 |
|
30 |
# Copy the rest of the application files into the container
|
31 |
COPY --chown=user . $HOME/app
|
32 |
-
|
|
|
33 |
# Specify the command to run your application (modify as needed)
|
34 |
-
CMD ["uvicorn", "
|
|
|
29 |
|
30 |
# Copy the rest of the application files into the container
|
31 |
COPY --chown=user . $HOME/app
|
32 |
+
# Expose port 80 for the FastAPI application
|
33 |
+
EXPOSE 7860
|
34 |
# Specify the command to run your application (modify as needed)
|
35 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|