backend-comms (a2005bc)
Published 2026-05-11 13:25:04 +00:00 by wesley
Installation
docker pull git.edge.capetown/school/backend-comms:a2005bcsha256:588a818783db02dc1cbd6b968a5a0c352f75da26229bdbb0e9f50e4ba6a72a13Image 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 |