ImageGenerator / Dockerfile
Thiophai's picture
Update Dockerfile
22cf47c verified
raw
history blame contribute delete
203 Bytes
FROM python:3.11
WORKDIR /app
COPY requirements.txt .
COPY main.py .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]