FROM amazoncorretto:20-alpine ENV PYTHONUNBUFFERED=1 RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python RUN python3 -m ensurepip RUN pip3 install --no-cache --upgrade pip setuptools WORKDIR /app COPY Dockerfile . COPY requirements.txt . RUN pip3 install -r requirements.txt COPY challenge.jar . COPY index.html . COPY app.py . CMD python3 app.py