Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
|
9 |
#COPY . .
|
10 |
|
11 |
-
|
12 |
|
13 |
|
14 |
|
@@ -27,5 +27,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
27 |
|
28 |
# Copy the rest of the application code into the container at /code
|
29 |
COPY . /code/
|
30 |
-
|
31 |
|
|
|
8 |
|
9 |
#COPY . .
|
10 |
|
11 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
12 |
|
13 |
|
14 |
|
|
|
27 |
|
28 |
# Copy the rest of the application code into the container at /code
|
29 |
COPY . /code/
|
30 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
31 |
|