File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.12 -alpine AS build
1+ FROM python:3.13 -alpine AS build
22ARG MRMAT_VERSION="0.0.0.dev0"
3+ ARG GIT_SHA=""
34ARG WHEEL=""
45ADD "$WHEEL" /
56RUN pip install --user /mrmat_python_api_fastapi-*.whl
67
7- FROM python:3.12 -alpine
8+ FROM python:3.13 -alpine
89ARG MRMAT_VERSION="0.0.0.dev0"
9- LABEL VERSION=$MRMAT_VERSION
10+ ARG GIT_SHA=""
11+
12+ LABEL org.opencontainers.image.title="MrMat :: Python API :: FastAPI"
13+ LABEL org.opencontainers.image.description="A demonstration of common API interactions using Python's FastAPI"
14+ LABEL org.opencontainers.image.authors="MrMat"
15+ LABEL org.opencontainers.image.vendor="The MrMat Organisation"
16+ LABEL org.opencontainers.image.licenses="MIT"
17+ LABEL org.opencontainers.image.version="$MRMAT_VERSION"
18+ LABEL org.opencontainers.image.revision="$GIT_SHA"
19+ LABEL org.opencontainers.image.source="https://github.com/MrMatAP/mrmat-python-api-fastapi"
20+
1021RUN addgroup -g 1000 app && \
1122 adduser -g 'App User' -u 1000 -G app -D app
1223COPY --from=build /root/.local /home/app/.local
You can’t perform that action at this time.
0 commit comments