Spaces:
Runtime error
Runtime error
dockerfile updated
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -10,10 +10,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
10 |
COPY LP6_toolkit .
|
11 |
|
12 |
# Copy the FastAPI app code to the container
|
13 |
-
COPY
|
14 |
|
15 |
# Expose the port FastAPI app will run on
|
16 |
EXPOSE 7860
|
17 |
|
18 |
# The CMD instruction specifies the command to run the container
|
19 |
-
CMD ["uvicorn", "
|
|
|
10 |
COPY LP6_toolkit .
|
11 |
|
12 |
# Copy the FastAPI app code to the container
|
13 |
+
COPY api.py .
|
14 |
|
15 |
# Expose the port FastAPI app will run on
|
16 |
EXPOSE 7860
|
17 |
|
18 |
# The CMD instruction specifies the command to run the container
|
19 |
+
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|