FROM python:3.11-slim

WORKDIR /app

# Install Flask
RUN pip install --no-cache-dir flask

# Copy the app
COPY app.py ascii_engine.py ./
COPY templates ./templates
COPY static ./static

# Expose port
EXPOSE 5000

# Run the app
CMD ["python", "app.py"]
