Skip to content

Commit

Permalink
Merge pull request #441 from maykinmedia/feature/50-last-security-issues
Browse files Browse the repository at this point in the history
⬆️ [#50] updated setuptools in Dockerfile, fixed npm vulnerabilities
  • Loading branch information
bart-maykin authored Aug 28, 2024
2 parents 0093d9f + 7c6ddc2 commit 49eb405
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 @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app

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


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

RUN pip install pip "setuptools>=70.0.0"

COPY --from=backend-build /usr/local/lib/python3.11 /usr/local/lib/python3.11
COPY --from=backend-build /usr/local/bin/uwsgi /usr/local/bin/uwsgi
COPY --from=backend-build /usr/local/bin/celery /usr/local/bin/celery
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 49eb405

Please sign in to comment.