LABEL authors="Benjamín Díaz, Fabián Bravo"
RUN apt-get --yes update \
- && apt-get --yes install python3=3.8.2-0ubuntu2 python3-pip=20.0.2-5ubuntu1.1 libmysqlclient-dev=8.0.23-0ubuntu0.20.04.1 git mysql-client=8.0.23-0ubuntu0.20.04.1 \
- && pip3 install pip==21.0.1
+ && apt-get --yes install python3=3.8.* python3-pip=20.0.* libmysqlclient-dev=8.0.* git mysql-client=8.0.* \
+ && pip3 install pip==21.3.1
COPY requirements.txt /policy_module/requirements.txt
+COPY requirements-dev.txt /policy_module/requirements-dev.txt
RUN pip3 install -r /policy_module/requirements.txt
+RUN pip3 install -r /policy_module/requirements-dev.txt
COPY . /policy_module
HEALTHCHECK --interval=10s --timeout=5s --retries=10 --start-period=30s \
CMD osm-pol-healthcheck || exit 1
-CMD /bin/bash /policy_module/docker/scripts/start.sh
\ No newline at end of file
+CMD /bin/bash /policy_module/docker/scripts/start.sh