pvanand commited on
Commit
d54b0f2
1 Parent(s): b96abd2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]