mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-25 00:19:09 +01:00
15 lines
244 B
Plaintext
15 lines
244 B
Plaintext
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", "old_port_main:app", "--host", "0.0.0.0", "--port", "8000"] |