File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 33FROM python:3.13-alpine@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1 AS alpine
44
55LABEL project="Python Insecure App" service="FastAPI" stage="alpine"
6+ # RUN python3 -m pip install --upgrade pip~=25.3
67ENV NONROOT=nonroot \
78 LANG=C.UTF-8 \
89 LC_ALL=C.UTF-8 \
@@ -16,10 +17,6 @@ COPY --chown=$NONROOT ./requirements/base.txt requirements/base.txt
1617COPY --chown=$NONROOT ./requirements/common.txt requirements/common.txt
1718RUN addgroup -S $NONROOT \
1819 && adduser -S $NONROOT -G $NONROOT \
19- # && apk update \
20- # && apk upgrade \
21- # sqlite-libs \
22- # && rm -rf /var/cache/apk \
2320 && chown $NONROOT:$NONROOT $WORKDIR \
2421 && python3 -m venv $VIRTUAL_ENV \
2522 && chown -R $NONROOT:$NONROOT $VIRTUAL_ENV \
You can’t perform that action at this time.
0 commit comments