demos / Dockerfile
coder160's picture
update dockerfile
482edee
raw
history blame
246 Bytes
FROM python:3.9
WORKDIR /server
COPY ./requirements.txt /server/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /server/requirements.txt
COPY ./api /server/api
CMD ["uvicorn", "api.main:api_fn", "--host", "0.0.0.0", "--port", "9028"]