websocket / Dockerfile
cahya's picture
change port
25d6128
raw
history blame
260 Bytes
FROM python:3.9
WORKDIR /fastapi/app
COPY ./requirements.txt /fastapi/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
COPY ./app /fastapi/app
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]