# Base image
FROM python:alpine

# Copy app, templates and views
COPY . /app

# Set working directory for subsequent commands
WORKDIR /app

# Install dependencies
RUN pip install -r requirements.txt

EXPOSE 8080

# Command to run when container starts
ENTRYPOINT ["python", "app.py"]