Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -10,4 +10,5 @@ RUN chmod -R 777 /code
|
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
-
COPY . .
|
|
|
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
+
COPY . .
|
14 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
|