Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Jan 19, 2024
1 parent c7bebf9 commit 7685578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.10-alpine as build
FROM python:3.13.0a3-alpine as build
RUN apk add -U git
RUN pip install build
ADD . src/
WORKDIR src
RUN python -m build
RUN pip install --root target/ dist/*-`cat version.txt`*.whl

FROM python:3.10-alpine
FROM python:3.13.0a3-alpine
COPY --from=build \
src/target/root/.local/lib/ /usr/local/lib/
COPY --from=build \
Expand Down

0 comments on commit 7685578

Please sign in to comment.