40kcalculator-webclient-backend (1.2.4)
Published 2025-11-24 19:50:01 +00:00 by loic
Installation
docker pull k3s-forgejo-for.the-fire-archmage.ninja/loic/40kcalculator-webclient-backend:1.2.4sha256:dcc2785de1cabe1d02c37e1cd8fd1f896f0fb66b040fd82578550c0ae9a04fb9Image layers
| ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG APP_API_PORT=7070 |
| ARG APP_METRICS_PORT=9090 |
| ARG APP_STACK_NAME=main |
| RUN |3 APP_API_PORT=7070 APP_METRICS_PORT=9090 APP_STACK_NAME=main /bin/sh -c apk add --no-cache gcompat bash # buildkit |
| COPY /build/web-client-backend/dist/40kcalculator-webclient-backend /app # buildkit |
| COPY ./40k10thdata /app/data # buildkit |
| COPY ./web-client-backend/infrastructure/docker/entrypoint.sh /app/entrypoint.sh # buildkit |
| RUN |3 APP_API_PORT=7070 APP_METRICS_PORT=9090 APP_STACK_NAME=main /bin/sh -c addgroup -g 1001 -S appgroup && adduser -u 1001 -S appuser -G appgroup # buildkit |
| USER appuser |
| WORKDIR /app |
| EXPOSE &{[{{51 0} {51 0}}] 0xc000792340} |
| EXPOSE &{[{{52 0} {52 0}}] 0xc000792340} |
| ENTRYPOINT ["./entrypoint.sh"] |
| CMD ["--api-port" "${APP_API_PORT}" "--metrics-port" "${APP_METRICS_PORT}" "--stack-name" "${APP_STACK_NAME}"] |