Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -18,7 +18,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
18 |
COPY . .
|
19 |
|
20 |
# Expose the correct port
|
21 |
-
EXPOSE
|
22 |
|
23 |
# Run FastAPI using Uvicorn
|
24 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
18 |
COPY . .
|
19 |
|
20 |
# Expose the correct port
|
21 |
+
EXPOSE 7860 # Change this to 7860 only if deploying to Hugging Face Spaces
|
22 |
|
23 |
# Run FastAPI using Uvicorn
|
24 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|