FROM ubuntu:18.04 LABEL Version="1.0" RUN apt-get update -y RUN apt-get install -y python3-pip python3-dev build-essential COPY ./app /app EXPOSE 7860 WORKDIR /app RUN pip3 install --no-cache-dir --upgrade pip RUN pip3 install -r requirements.txt ENV FLASK_APP main ENTRYPOINT python3 main.py