Skip to content

Commit

Permalink
Merge pull request #126 from maykinmedia/feature/50-fix-last-security…
Browse files Browse the repository at this point in the history
…-issues

🎨 [#50] updated setuptools in docker and fixed npm vulnerabilities
  • Loading branch information
bart-maykin authored Aug 28, 2024
2 parents f6fd79c + 125ea50 commit cecc40e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 29 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app

COPY ./requirements /app/requirements
RUN pip install pip -U
RUN pip install pip "setuptools>=70.0.0"
RUN pip install -r requirements/production.txt


Expand Down Expand Up @@ -50,6 +50,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
gdal-bin \
&& rm -rf /var/lib/apt/lists/*

RUN pip install pip "setuptools>=70.0.0"

COPY --from=build /usr/local/lib/python3.11 /usr/local/lib/python3.11
COPY --from=build /usr/local/bin/uwsgi /usr/local/bin/uwsgi

Expand Down
39 changes: 11 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cecc40e

Please sign in to comment.