Mahedi Hasan Rasel
commited on
Commit
•
a05bb3d
1
Parent(s):
4c6fd10
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -12,8 +12,8 @@ RUN pip install --upgrade pip
|
|
12 |
# Install any needed packages specified in requirements.txt
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|
14 |
|
15 |
-
|
16 |
-
EXPOSE
|
17 |
|
18 |
# Run app.py when the container launches
|
19 |
-
CMD [
|
|
|
12 |
# Install any needed packages specified in requirements.txt
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|
14 |
|
15 |
+
|
16 |
+
EXPOSE 7860
|
17 |
|
18 |
# Run app.py when the container launches
|
19 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|