Currently, the documentation for the exercise "Gatiño do día" is incorrect. The user is instructed to create a Dockfile step by step, and, at some point, is asked to type in the following command:
RUN apt-get update -y && apt-get -y install python3-pip
This command is wrong because it also needs to install the git package, which is used later to clone in the repo.
At the end of the lesson, the resulting Dockerfile is shown, this mistake is not present:
FROM ubuntu
WORKDIR /home
RUN apt-get update -y && apt-get -y install python3-pip git
RUN git clone https://github.com/prefapp/catweb.git
WORKDIR /home/catweb
RUN pip3 install -r requirements.txt
CMD ["python3", "app.py"]
Acceptance criteria
[X] The error is fixed in both the gl and es versions
Motivation
Currently, the documentation for the exercise "Gatiño do día" is incorrect. The user is instructed to create a Dockfile step by step, and, at some point, is asked to type in the following command:
RUN apt-get update -y && apt-get -y install python3-pip
This command is wrong because it also needs to install the git package, which is used later to clone in the repo.
At the end of the lesson, the resulting Dockerfile is shown, this mistake is not present:
Acceptance criteria