Commit
•
f17b91a
1
Parent(s):
f32eae4
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -12,5 +12,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
12 |
# copy all the files in the app folder
|
13 |
COPY app/ .
|
14 |
|
|
|
|
|
15 |
# Start the FastAPI app with Uvicorn when the container starts
|
16 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
12 |
# copy all the files in the app folder
|
13 |
COPY app/ .
|
14 |
|
15 |
+
EXPOSE 7860
|
16 |
+
|
17 |
# Start the FastAPI app with Uvicorn when the container starts
|
18 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|