deploy: 2026-03-20 07:51

This commit is contained in:
ufo6849
2026-03-20 07:51:43 +09:00
parent d14a8bab04
commit bc06dce46e
3 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt* pyproject.toml* ./
RUN pip install --no-cache-dir -r requirements.txt 2>/dev/null || pip install --no-cache-dir . 2>/dev/null || true
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
EXPOSE 8502
CMD ["streamlit", "run", "dashboard/app.py", "--server.port=8502", "--server.address=0.0.0.0", "--server.headless=true"]