You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ai-image/Dockerfile

13 lines
256 B

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY agent-image-t2i.py .
RUN mkdir -p /app/output
EXPOSE 8000
CMD ["uvicorn", "agent-image-t2i:app", "--host", "0.0.0.0", "--port", "8000"]