FROM python:3-alpine WORKDIR /usr/src/app COPY requirements.txt ./ RUN apk --no-cache --update-cache add gcc gfortran build-base wget freetype-dev libpng-dev openblas-dev RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python", "app.py"]