| ADD file:13af2f8545c95098850819e5a718fd1d31fac8b0ad70cc8cbfdd1c025916533d in / |
| CMD ["/bin/bash"] |
| /bin/sh -c microdnf update -y && microdnf install -y python3.11 python3.11-pip && microdnf remove -y python3.11-wheel || true && rm -rf /usr/lib/python3.11/site-packages/wheel* && python3.11 -m pip install --no-cache-dir --upgrade pip setuptools "wheel>=0.46.2" && microdnf clean all |
| /bin/sh -c groupadd --gid 1000 fn && adduser --uid 1000 --gid fn fn |
| CMD ["python3.11"] |
| WORKDIR /function |
| COPY /python /python # buildkit |
| COPY /function /function # buildkit |
| RUN /bin/sh -c chmod -R o+r /function # buildkit |
| ENV PYTHONPATH=/function:/python |
| ENTRYPOINT ["/python/bin/fdk" "/function/func.py" "handler"] |