pknez commited on
Commit
46d6cc0
1 Parent(s): a389766

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM python:3.11
2
- WORKDIR ./app
3
  RUN apt-get update && apt-get install -y libgl1-mesa-glx
4
  COPY requirements.txt ./
5
  RUN pip install --no-cache-dir -r requirements.txt
6
  COPY . .
7
- CMD ["python", "run.py"]
 
1
  FROM python:3.11
2
+ WORKDIR /code
3
  RUN apt-get update && apt-get install -y libgl1-mesa-glx
4
  COPY requirements.txt ./
5
  RUN pip install --no-cache-dir -r requirements.txt
6
  COPY . .
7
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]