<filename>Dockerfile
# create from an image from hub.docker.com 
FROM python:3.7-alpine
MAINTAINER <NAME>

ENV PYTHONUNBUFFERED 1

COPY ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt

RUN mkdir /app
WORKDIR /app
COPY ./app /app

RUN adduser -D user
USER user