FROM python:3.12 WORKDIR /code RUN pip install --upgrade pip RUN pip install flask RUN mkdir /code/templates COPY index.html /code/templates/ COPY . /code CMD ["python3 /code/app.py"]