ADD file:ec892b6986dac395477ae6947272ea0913b711cda60bbd7d575b374ecfc4cee2 in / |
CMD ["/bin/sh"] |
ARG BUILD_TIME=20240723015521 |
ARG BIN_OUTPUT=/go/bin/server |
ARG SVC_NAME=order-svc |
ARG SVC_VER=dev |
LABEL dev.egommerce.image.author=Piotr Biernat |
LABEL dev.egommerce.image.vendor=Egommerce |
LABEL dev.egommerce.image.service=order-svc |
LABEL dev.egommerce.image.version=dev |
LABEL dev.egommerce.image.build_time=20240723015521 |
WORKDIR / |
COPY /go/bin/server /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 BUILD_TIME=20240723015521 BIN_OUTPUT=/go/bin/server SVC_NAME=order-svc SVC_VER=dev /bin/sh -c chmod 755 /bin/entrypoint.sh /bin/migrate.sh # buildkit |
RUN |4 BUILD_TIME=20240723015521 BIN_OUTPUT=/go/bin/server SVC_NAME=order-svc SVC_VER=dev /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'} |