Migrate to K8S stack and fixes before big refactoring

This commit is contained in:
PB
2025-10-13 19:32:31 +02:00
parent ac19e766cf
commit 7f951cd42d
31 changed files with 163 additions and 470 deletions

View File

@@ -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