Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -12,10 +12,10 @@ ADD requirements.txt .
|
|
| 12 |
RUN pip3 install -r requirements.txt
|
| 13 |
|
| 14 |
# Expose port
|
| 15 |
-
EXPOSE
|
| 16 |
|
| 17 |
# Copy application code
|
| 18 |
COPY app ./app
|
| 19 |
|
| 20 |
# Run the application
|
| 21 |
-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 12 |
RUN pip3 install -r requirements.txt
|
| 13 |
|
| 14 |
# Expose port
|
| 15 |
+
EXPOSE 7860
|
| 16 |
|
| 17 |
# Copy application code
|
| 18 |
COPY app ./app
|
| 19 |
|
| 20 |
# Run the application
|
| 21 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|