Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM python:3.11
|
2 |
-
WORKDIR
|
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 ["
|
|
|
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"]
|