Skip to content

Commit cecc40e

Browse files
authored
Merge pull request #126 from maykinmedia/feature/50-fix-last-security-issues
🎨 [#50] updated setuptools in docker and fixed npm vulnerabilities
2 parents f6fd79c + 125ea50 commit cecc40e

File tree

2 files changed

+14
-29
lines changed

2 files changed

+14
-29
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1111
WORKDIR /app
1212

1313
COPY ./requirements /app/requirements
14-
RUN pip install pip -U
14+
RUN pip install pip "setuptools>=70.0.0"
1515
RUN pip install -r requirements/production.txt
1616

1717

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

53+
RUN pip install pip "setuptools>=70.0.0"
54+
5355
COPY --from=build /usr/local/lib/python3.11 /usr/local/lib/python3.11
5456
COPY --from=build /usr/local/bin/uwsgi /usr/local/bin/uwsgi
5557

package-lock.json

+11-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)