api_generator / Dockerfile
raqim's picture
up
2c6103b
raw
history blame contribute delete
233 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["uvicorn", "api_generator:app", "--host", "0.0.0.0", "--port", "7860"]