Spaces:
Runtime error
Runtime error
Commit
·
a3ad727
1
Parent(s):
cb842e7
Docker file
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,8 +6,8 @@ COPY ./requirements.txt /app
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
8 |
|
9 |
-
EXPOSE
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
-
CMD ["uvicorn", "main:app", "--host", "
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
8 |
|
9 |
+
EXPOSE 8000
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
+
CMD ["uvicorn", "main:app", "--host", "127.0.0.1", "--port", "8000"]
|