All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 1m2s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m12s
Build and Push Docker Images / Build Integrator (push) Successful in 59s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 0s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
374 B
Docker
16 lines
374 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application code
|
|
COPY scripts/ ./scripts/
|
|
COPY server.py .
|
|
|
|
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8001"]
|