backend-attendance (c59d0c4)
Published 2026-05-01 12:57:44 +00:00 by wesley
Installation
docker pull git.edge.capetown/school/backend-attendance:c59d0c4sha256:4f88d6f34a998a9fe155e241d67c150cafd40d660df633dc5b1448d3b04bf1d1Image layers
| ADD alpine-minirootfs-3.19.9-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN apk add --no-cache ca-certificates tzdata && addgroup -S -g 1000 app && adduser -S -u 1000 -G app app |
| COPY --from=build /go/bin/goose /usr/local/bin/goose |
| COPY --from=build /out/app /app |
| COPY services/${SERVICE}/ /tmp/svc/ |
| RUN mkdir -p /migrations && if [ -d /tmp/svc/migrations ]; then cp -a /tmp/svc/migrations/. /migrations/ 2>/dev/null || true; fi && rm -rf /tmp/svc |