cerebroscan-api / Dockerfile
itsLu's picture
Initial commit
5205645
raw
history blame contribute delete
365 Bytes
# --- Backend (Flask) ---
FROM python:3.9-slim
WORKDIR /app
# Copy backend files
COPY app.py requirements.txt README.md ./
COPY models/ ./models/
# Copy static assets (brain examples, etc.) if present
COPY static/ ./static/
# Install Python deps
RUN pip install --no-cache-dir -r requirements.txt
ENV PORT=7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]