Skip to content

Commit

Permalink
Upgrade pip as well when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jan 10, 2022
1 parent 0282fdd commit 29bf0e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dockerize/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MAINTAINER Dimas Ciputra<[email protected]>
RUN apt-get clean all
RUN apt-get update && apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev
ADD REQUIREMENTS.txt /REQUIREMENTS.txt
RUN pip install -r /REQUIREMENTS.txt
RUN pip install --upgrade pip && pip install -r /REQUIREMENTS.txt
RUN pip install uwsgi

# https://docs.docker.com/examples/running_ssh_service/
Expand Down
1 change: 1 addition & 0 deletions dockerize/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN mkdir -p /usr/src; mkdir -p /home/web && \
ln -s /usr/src/plugins/qgis-app /home/web/django_project

RUN cd /usr/src/plugins/dockerize/docker && \
pip install --upgrade pip && \
pip install -r REQUIREMENTS.txt && \
pip install uwsgi && \
rm -rf /uwsgi.conf && \
Expand Down

0 comments on commit 29bf0e5

Please sign in to comment.