change port
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,5 +3,5 @@ WORKDIR /fastapi/app
|
|
3 |
COPY ./requirements.txt /fastapi/requirements.txt
|
4 |
RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
|
5 |
COPY ./app /fastapi/app
|
6 |
-
EXPOSE
|
7 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
3 |
COPY ./requirements.txt /fastapi/requirements.txt
|
4 |
RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
|
5 |
COPY ./app /fastapi/app
|
6 |
+
EXPOSE 7860
|
7 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|