ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in / |
CMD ["/bin/sh"] |
ARG SVC_NAME |
ARG SVC_VER |
ARG BIN_OUTPUT |
ARG BUILD_TIME |
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=1.0 |
LABEL dev.egommerce.image.build_time=20230407173107 |
WORKDIR / |
COPY /go/bin/worker /app # buildkit |
COPY /go/bin/migrate /bin/go_migrate # buildkit |
COPY .env.dist /.env # buildkit |
COPY ./bin /bin # buildkit |
RUN |4 SVC_NAME=basket-worker SVC_VER=1.0 BIN_OUTPUT=/go/bin/worker BUILD_TIME=20230407173107 /bin/sh -c chmod 755 /bin/entrypoint.sh /bin/migrate.sh # buildkit |
EXPOSE map[80/tcp:{}] |
CMD ["sh" "-c" "/app"] |
ENTRYPOINT ["entrypoint.sh"] |