This commit is contained in:
2026-08-20 18:32:05 +08:00
parent fdbc22441b
commit 7e6617aebb
+3 -2
View File
@@ -5,9 +5,10 @@ WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY agent-image-t2i.py . COPY main.py .
COPY utils/ ./utils/
RUN mkdir -p /app/output RUN mkdir -p /app/output
EXPOSE 8000 EXPOSE 8000
CMD ["uvicorn", "agent-image-t2i:app", "--host", "0.0.0.0", "--port", "8000"] CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]