aeonshift commited on
Commit
e400b6b
·
verified ·
1 Parent(s): bf8d95e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -2
Dockerfile CHANGED
@@ -10,8 +10,6 @@ COPY requirements.txt .
10
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # EXPOSE port (use a default value if $PORT is not set at build time)
14
  EXPOSE 7860
15
 
16
- # Use shell form to ensure $PORT is substituted at runtime, with a default of 7860
17
  CMD uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}
 
10
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
13
  EXPOSE 7860
14
 
 
15
  CMD uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}