Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -37,5 +37,7 @@ RUN chown -R myuser:myuser /app
|
|
37 |
# Switch to the non-root user
|
38 |
USER myuser
|
39 |
|
|
|
|
|
40 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
41 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
37 |
# Switch to the non-root user
|
38 |
USER myuser
|
39 |
|
40 |
+
EXPOSE 7860
|
41 |
+
|
42 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
43 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|