FROM python:3.10.11-alpine3.18 WORKDIR app/ COPY requirements.txt requirements.txt RUN pip3 install --upgrade pip setuptools wheel RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt RUN pip install flask COPY . . RUN chmod 777 /app CMD ["python3", "app.py"]