docker-test / Dockerfile
misza222's picture
exposed port
8594063
raw
history blame contribute delete
274 Bytes
FROM python:3.10-bullseye
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN echo "Hello world!!!"
COPY . .
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]