diff --git a/hotelReservation/Dockerfile b/hotelReservation/Dockerfile index 06e3a3fe15..fda867ad9a 100644 --- a/hotelReservation/Dockerfile +++ b/hotelReservation/Dockerfile @@ -18,3 +18,13 @@ COPY config.json config.json RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go install -ldflags="-s -w" -mod=vendor ./cmd/... +FROM alpine:3.18 + +RUN apk add --no-cache ca-certificates + +WORKDIR /app + +COPY --from=builder /go/bin/ . +COPY --from=builder /workspace/config.json . +COPY --from=builder /workspace/tls/ tls/ + diff --git a/hotelReservation/helm-chart/hotelreservation/charts/frontend/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/frontend/values.yaml index ec1171208b..85f9702b6b 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/frontend/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/frontend/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/geo/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/geo/values.yaml index 80c7aabb84..2b746db875 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/geo/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/geo/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/profile/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/profile/values.yaml index 57f90059e5..d019016eeb 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/profile/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/profile/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/rate/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/rate/values.yaml index f5b50ce4f6..21dd54ec98 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/rate/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/rate/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/recommendation/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/recommendation/values.yaml index 4ca7680009..98cb4102c6 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/recommendation/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/recommendation/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/reservation/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/reservation/values.yaml index 9c1e20fe11..ad94eabe73 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/reservation/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/reservation/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/search/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/search/values.yaml index f041cd25a5..c31b7fce73 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/search/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/search/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config diff --git a/hotelReservation/helm-chart/hotelreservation/charts/user/values.yaml b/hotelReservation/helm-chart/hotelreservation/charts/user/values.yaml index 413cf521a7..161f34a0e4 100644 --- a/hotelReservation/helm-chart/hotelreservation/charts/user/values.yaml +++ b/hotelReservation/helm-chart/hotelreservation/charts/user/values.yaml @@ -13,5 +13,5 @@ container: configMaps: - name: service-config.json - mountPath: config.json + mountPath: /app/config.json value: service-config