Skip to content

Commit

Permalink
Merge pull request #20 from richardnfag/snyk-fix-f23e9af0dff511d9a1b6…
Browse files Browse the repository at this point in the history
…2924bf2cbdb1

[Snyk] Security upgrade python from 3.12.0a1-alpine to 3.12.0a2-alpine
  • Loading branch information
richardnfag authored Feb 23, 2023
2 parents 1f256dc + 66f2074 commit 896bcd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/python.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.12.0a2-alpine AS builder

WORKDIR /usr/src/function/
ADD source.tar.gz /usr/src/function/
RUN python3 -m compileall -f -b /usr/src/function/


FROM python:3.12.0a1-alpine AS runtime
FROM python:3.12.0a2-alpine AS runtime

COPY --from=builder /usr/src/function/*.pyc /usr/local/bin/function/
RUN chmod +x /usr/local/bin/function/*.pyc
Expand Down

0 comments on commit 896bcd7

Please sign in to comment.