LifeRPG_v2.0/modern/Dockerfile.backend

8 lines
239 B
Docker

# Simple Dockerfile for the minimal Python backend
FROM python:3.11-slim
WORKDIR /app
COPY backend/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt || true
COPY backend/ ./backend/
CMD ["python", "backend/server.py"]