Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -9,10 +9,10 @@ COPY ./requirements.txt /code/requirements.txt
|
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
# Install uvicorn
|
12 |
-
RUN pip install
|
13 |
# Install dependencies
|
14 |
RUN pip install -r requirements.txt
|
15 |
|
16 |
COPY . .
|
17 |
-
ENTRYPOINT ["
|
18 |
CMD ["--host", "0.0.0.0", "--port", "7860"]
|
|
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
# Install uvicorn
|
12 |
+
RUN pip install gunicorn
|
13 |
# Install dependencies
|
14 |
RUN pip install -r requirements.txt
|
15 |
|
16 |
COPY . .
|
17 |
+
ENTRYPOINT ["gunicorn", "app:app"]
|
18 |
CMD ["--host", "0.0.0.0", "--port", "7860"]
|