Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
@@ -27,9 +27,4 @@ WORKDIR $HOME/code
|
|
27 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
28 |
COPY --chown=user . $HOME/code
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
EXPOSE 8000
|
33 |
-
|
34 |
-
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
35 |
-
CMD ["flask", "run", "--host=0.0.0.0"]
|
|
|
27 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
28 |
COPY --chown=user . $HOME/code
|
29 |
|
30 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
|
|
|
|
|
|
|
|
|
|