Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -16,8 +16,8 @@ RUN ls -R /app
|
|
16 |
# Change permissions to allow writing to the directory
|
17 |
RUN chmod -R 777 /app
|
18 |
|
19 |
-
# Expose port
|
20 |
EXPOSE 7860
|
21 |
|
22 |
# Run app.py when the container launches
|
23 |
-
CMD ["uvicorn", "app:app", "--host 127.0.0.1", "--port 7860"]
|
|
|
16 |
# Change permissions to allow writing to the directory
|
17 |
RUN chmod -R 777 /app
|
18 |
|
19 |
+
# Expose port 7860 for FastAPI
|
20 |
EXPOSE 7860
|
21 |
|
22 |
# Run app.py when the container launches
|
23 |
+
CMD ["uvicorn", "app:app", "--host", "127.0.0.1", "--port", "7860"]
|