Migrate to K8S stack and fixes before big refactoring
This commit is contained in:
@@ -20,10 +20,10 @@ LABEL dev.egommerce.image.build_time=${BUILD_TIME}
|
||||
WORKDIR /
|
||||
COPY --from=builder $BIN_OUTPUT /app
|
||||
COPY --from=builder /go/bin/migrate /bin/migrate
|
||||
COPY --from=builder /go/bin/health /bin/health
|
||||
COPY .env.docker /.env
|
||||
COPY ./.app.config /
|
||||
COPY deploy/.env.docker /.env
|
||||
COPY ./bin /bin
|
||||
# COPY deploy/certs /certs
|
||||
|
||||
RUN chmod 755 /bin/entrypoint.sh /bin/migrate.sh
|
||||
|
||||
RUN apk add curl
|
||||
@@ -33,4 +33,4 @@ EXPOSE 443
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
CMD ["sh", "-c", "/app"]
|
||||
|
||||
HEALTHCHECK --interval=5s --timeout=1s --retries=20 CMD health >/dev/null || exit 1
|
||||
# HEALTHCHECK --interval=5s --timeout=1s --retries=20 CMD health >/dev/null || exit 1
|
||||
|
||||
Reference in New Issue
Block a user