docker-test / Dockerfile
misza222's picture
First commit
4efd323
raw
history blame
253 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN echo "Hello world!!!"
COPY . .
CMD ["uvicorn", "main:app", "--host", "127.0.0.1", "--port", "7860"]