FROM alpine:3.7 WORKDIR /app COPY ./requirements.txt . RUN apk add --no-cache python3 RUN python3 -m pip install --no-cache-dir -r requirements.txt COPY ./ . CMD [ "python3", "-u", "./app.py" ]