zenaight commited on
Commit ·
d1139f1
1
Parent(s): ba3605b
Update Dockerfile to change server port from 7860 to 8080
Browse files- Modified the exposed port in the Dockerfile from 7860 to 8080 to align with recent configuration standards.
- Updated the CMD instruction to reflect the new port, ensuring the application runs correctly in the container.
- These changes enhance the application's accessibility and maintain consistency with the latest deployment practices.
- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -3,5 +3,5 @@ WORKDIR /code
|
|
| 3 |
COPY requirements.txt .
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
COPY . .
|
| 6 |
-
EXPOSE
|
| 7 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 3 |
COPY requirements.txt .
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
COPY . .
|
| 6 |
+
EXPOSE 8080
|
| 7 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
|