In this video we will learn about how to create a docker container from a flask app.
we will take an existing flask app and make a docker image from it. we will create a docker file and then use alpine image and python3 and pip to create docker container.
we will use various docker command line RUN, WORKDIR, FROM ,EXPOSE, ENTRYPOINT, CMD
RUN apk add –no-cache python3-dev
&& pip3 install –upgrade pip
COPY . /app
RUN pip3 –no-cache-dir install -r requirements.txt