Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -19,8 +19,8 @@ RUN pip install pydantic[email]
|
|
19 |
# Make all files and folders readable, writable, executable
|
20 |
# RUN chmod -R 777 ./
|
21 |
|
22 |
-
|
23 |
|
24 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
25 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
26 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
|
|
|
19 |
# Make all files and folders readable, writable, executable
|
20 |
# RUN chmod -R 777 ./
|
21 |
|
22 |
+
RUN python3 main.py
|
23 |
|
24 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
25 |
+
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
26 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
|