diff --git a/templates/python.dockerfile b/templates/python.dockerfile index 3d0f79a..a928347 100644 --- a/templates/python.dockerfile +++ b/templates/python.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.12.0a2-alpine AS builder +FROM python:3.13.0rc1-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.0a2-alpine AS runtime +FROM python:3.13.0rc1-alpine AS runtime COPY --from=builder /usr/src/function/*.pyc /usr/local/bin/function/ RUN chmod +x /usr/local/bin/function/*.pyc