Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Image #1075

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN apt-get install --no-install-recommends -y postgresql-client mtr htop vim ss


RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get install --no-install-recommends -y python3.9 python3.9-dev python3.9-distutils
RUN ln -s /usr/bin/python3.9 /usr/bin/python && python3.9 -m pip install --upgrade pip==21.3.1
RUN apt-get install --no-install-recommends -y python3.8 python3.8-dev python3.8-distutils
RUN ln -s /usr/bin/python3.8 /usr/bin/python && python3.8 -m pip install --upgrade pip==21.3.1
RUN apt-get update

#RUN ln -s /usr/bin/pip3 /usr/bin/pip
Expand All @@ -38,7 +38,7 @@ RUN pip3 install --no-cache-dir -r requirements.txt \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/*

COPY libgeos.py.patch /app/
RUN patch /usr/local/lib/python3.9/dist-packages/django/contrib/gis/geos/libgeos.py /app/libgeos.py.patch
RUN patch /usr/local/lib/python3.8/dist-packages/django/contrib/gis/geos/libgeos.py /app/libgeos.py.patch
RUN rm /app/libgeos.py.patch

# Install the project (ensure that frontend projects have been built prior to this step).
Expand Down
Loading