sehsapneb commited on
Commit
11977fb
·
verified ·
1 Parent(s): 02d31eb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -3,5 +3,5 @@ WORKDIR /code
3
  COPY requirements.txt .
4
  RUN pip install --no-cache-dir -r requirements.txt
5
  COPY . .
6
- EXPOSE 7860 # Spaces 默认外暴端口
7
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
3
  COPY requirements.txt .
4
  RUN pip install --no-cache-dir -r requirements.txt
5
  COPY . .
6
+ EXPOSE 7860
7
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]