ADD file:8bf458f5fbed9f27c897506538c02fb5810b70aba850bb883d2120985fa15bac in / |
CMD ["/bin/sh"] |
ARG SVC_NAME=basket-worker |
ARG SVC_VER=dev |
ARG BIN_OUTPUT=/go/bin/worker |
ARG BUILD_TIME=20240921131440 |
LABEL dev.egommerce.image.author=Piotr Biernat |
LABEL dev.egommerce.image.vendor=Egommerce |
LABEL dev.egommerce.image.service=basket-worker |
LABEL dev.egommerce.image.version=dev |
LABEL dev.egommerce.image.build_time=20240921131440 |
WORKDIR / |
COPY /go/bin/worker /app # buildkit |
COPY /go/bin/migrate /bin/migrate # buildkit |
COPY /go/bin/health /bin/health # buildkit |
COPY .env.docker /.env # buildkit |
COPY ./.app.config / # buildkit |
COPY ./bin /bin # buildkit |
RUN |4 SVC_NAME=basket-worker SVC_VER=dev BIN_OUTPUT=/go/bin/worker BUILD_TIME=20240921131440 /bin/sh -c chmod 755 /bin/entrypoint.sh /bin/migrate.sh # buildkit |
RUN |4 SVC_NAME=basket-worker SVC_VER=dev BIN_OUTPUT=/go/bin/worker BUILD_TIME=20240921131440 /bin/sh -c apk add curl # buildkit |
EXPOSE map[443/tcp:{}] |
ENTRYPOINT ["entrypoint.sh"] |
CMD ["sh" "-c" "/app"] |
HEALTHCHECK &{["CMD-SHELL" "health >/dev/null || exit 1"] "5s" "1s" "0s" "0s" '\x14'} |