FROM ubuntu:latest@sha256:f3d28607ddd78734bb7f71f117f3c6706c666b8b76cbff7c9ff6e5718d46ff64 RUN apt-get update -y && \ apt-get install -y python3.8-dev python3.8 python3.8-distutils curl RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py RUN python3.8 get-pip.py copy ./requirements.txt /app/requirements.txt WORKDIR /app RUN pip3.8 install -r requirements.txt COPY . /app ENV LC_ALL=en_CA.UTF-8 ENV LANG=en_CA.UTF-8 ENV LANGUAGE=en_CA.UTF-8 ENTRYPOINT [ "flask" ] CMD [ "run", "--host", "0.0.0.0", "--port", "8080"]