Spaces:
Runtime error
Runtime error
xcurvnubaim
commited on
Commit
·
1b675b4
1
Parent(s):
c335d4c
fix: fix dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,10 +7,10 @@ WORKDIR /code
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
-
COPY ./app /code/
|
11 |
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
COPY . .
|
15 |
|
16 |
-
CMD ["uvicorn", "app
|
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
+
COPY ./app.py /code/
|
11 |
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
COPY . .
|
15 |
|
16 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|