Add files via upload

This commit is contained in:
nogueiragustavo
2026-02-26 19:47:52 -03:00
committed by GitHub
parent 3a8e8a5d54
commit aa561a87f3
8 changed files with 1453 additions and 3 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM python:3.12-slim
WORKDIR /app
# Install system deps
RUN apt-get update && apt-get install -y --no-install-recommends \
curl gcc libffi-dev && \
rm -rf /var/lib/apt/lists/*
# Install Python deps
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY app.py .
COPY cis_runner.py .
# Data volume
RUN mkdir -p /data
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "2"]