FROM python:3-alpine

# install the requirements
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt

# install the webapp
COPY k8s_test.py .
COPY static/ static/
COPY templates/ templates/

# run the wenapp
CMD [ "python", "k8s_test.py" ]
