devZenaight commited on
Commit
8b41a66
·
verified ·
1 Parent(s): c0c2267

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -2
Dockerfile CHANGED
@@ -1,9 +1,7 @@
1
  FROM python:3.11-slim
2
  WORKDIR /code
3
  COPY requirements.txt .
4
- RUN echo "Contents of /code before install:" && ls -la /code
5
  RUN pip install --no-cache-dir -r requirements.txt
6
- RUN echo "Contents of /code after install:" && ls -la /code
7
  COPY . .
8
  EXPOSE 7860
9
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.11-slim
2
  WORKDIR /code
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"]