ldm3d-space / Dockerfile
r23's picture
Update Dockerfile
d44abd3
raw
history blame
297 Bytes
FROM python:3.8-slim
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install diffusers transformers
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN pip install --target=/code uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]