File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.11 -slim-bookworm
1+ FROM python:3.12 -slim-bookworm
22
33RUN apt-get update && apt-get install -y curl procps && \
44 apt-get clean && \
55 rm -rf /var/lib/apt/lists/*
66
77COPY requirements.txt /
88
9- RUN \
10- python3 -m pip install -r requirements.txt && rm -rf ~/.cache && rm requirements.txt
9+ RUN --mount=type=cache,target=/root/.cache/pip \
10+ python3 -m pip install -r requirements.txt && rm requirements.txt
1111
1212ADD /ex_app/cs[s] /ex_app/css
1313ADD /ex_app/im[g] /ex_app/img
Original file line number Diff line number Diff line change 3131.PHONY : build-push
3232build-push :
3333 docker login ghcr.io
34- docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/app-skeleton-python:latest .
34+ DOCKER_BUILDKIT=1 docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/app-skeleton-python:latest .
3535
3636.PHONY : run30
3737run29 :
Original file line number Diff line number Diff line change 1- nc_py_api [app ]>= 0.19.1
1+ nc_py_api [app ]>= 0.19.2
You can’t perform that action at this time.
0 commit comments