RehamAAhmed commited on
Commit
be5262d
·
verified ·
1 Parent(s): fc0409c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -26,4 +26,6 @@ COPY . .
26
  # IMPORTANT: DON'T switch user (fix for HF Spaces)
27
  EXPOSE 7860
28
 
 
 
29
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
26
  # IMPORTANT: DON'T switch user (fix for HF Spaces)
27
  EXPOSE 7860
28
 
29
+ ENV PORT=7860
30
+
31
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]