Mahedi Hasan Rasel
commited on
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"]
|