deploy: 2026-03-20 07:51
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user