forked from extern/easydiffusion
15 lines
229 B
Docker
15 lines
229 B
Docker
|
FROM python:3.9
|
||
|
|
||
|
RUN mkdir /app
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN apt update
|
||
|
|
||
|
COPY requirements.txt ./
|
||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
EXPOSE 8000
|
||
|
|
||
|
ENTRYPOINT ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0"]
|