diff --git a/src/productcatalogservice/Dockerfile b/src/productcatalogservice/Dockerfile index cbcfa65..67d7069 100644 --- a/src/productcatalogservice/Dockerfile +++ b/src/productcatalogservice/Dockerfile @@ -17,8 +17,7 @@ RUN go get -d ./... RUN go build -o /productcatalogservice . FROM alpine as release -RUN apk add --no-cache \ - ca-certificates +RUN apk add --no-cache ca-certificates COPY --from=builder /productcatalogservice /productcatalogservice EXPOSE 3550 ENTRYPOINT ["/productcatalogservice"] diff --git a/src/shippingservice/Dockerfile b/src/shippingservice/Dockerfile index b04855d..7713871 100644 --- a/src/shippingservice/Dockerfile +++ b/src/shippingservice/Dockerfile @@ -17,6 +17,7 @@ RUN go get -d ./... RUN go build -o /shippingservice . FROM alpine as release +RUN apk add --no-cache ca-certificates COPY --from=builder /shippingservice /shippingservice ENV APP_PORT=50051 EXPOSE 50051