Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -23,7 +23,7 @@ COPY ./requirements.txt /code/requirements.txt
|
|
| 23 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 24 |
|
| 25 |
# Copy the main application file
|
| 26 |
-
COPY ./
|
| 27 |
|
| 28 |
# Command to run the app
|
| 29 |
-
CMD ["uvicorn", "
|
|
|
|
| 23 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 24 |
|
| 25 |
# Copy the main application file
|
| 26 |
+
COPY ./app.py /code/app.py
|
| 27 |
|
| 28 |
# Command to run the app
|
| 29 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|