Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Aug 18, 2021
1 parent 471805c commit fe5fe7d
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,4 +1,4 @@
FROM python:3.10.0a4-alpine as builder
FROM python:3.10.0rc1-alpine as builder
COPY . /app
WORKDIR /app
RUN pip install flake8==3.8.4
Expand All @@ -7,7 +7,7 @@ RUN apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev openssl-dev
RUN pip wheel . --no-cache-dir --wheel-dir /usr/src/app/wheels
RUN apk del .build-deps gcc musl-dev

FROM python:3.10.0a4-alpine
FROM python:3.10.0rc1-alpine
ENV PYTHONUNBUFFERED 1
COPY --from=builder /usr/src/app/wheels /wheels
RUN pip install --no-cache /wheels/* \
Expand Down

0 comments on commit fe5fe7d

Please sign in to comment.