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 May 16, 2024
1 parent 5a15040 commit 783d735
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,11 +1,11 @@
FROM python:3.12.0a1-alpine as builder
FROM python:3.13.0b1-alpine as builder
COPY . /app
WORKDIR /app
RUN pip install flake8==3.8.4
RUN flake8 --ignore=E501,F401,W605 .
RUN pip wheel . --no-cache-dir --wheel-dir /usr/src/app/wheels

FROM python:3.12.0a1-alpine
FROM python:3.13.0b1-alpine
ENV PYTHONUNBUFFERED 1
COPY --from=builder /usr/src/app/wheels /wheels
RUN pip install --no-cache /wheels/* \
Expand Down

0 comments on commit 783d735

Please sign in to comment.