Update Dockerfile
#1
by
Dekode
- opened
- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -24,6 +24,8 @@ WORKDIR $HOME/app
|
|
24 |
|
25 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
26 |
COPY --chown=user . $HOME/app
|
|
|
|
|
27 |
|
28 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
29 |
CMD ["gunicorn","-k"," uvicorn.workers.UvicornWorker","app:app"]
|
|
|
24 |
|
25 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
26 |
COPY --chown=user . $HOME/app
|
27 |
+
|
28 |
+
EXPOSE 7755
|
29 |
|
30 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
31 |
CMD ["gunicorn","-k"," uvicorn.workers.UvicornWorker","app:app"]
|