Skip to content

Commit

Permalink
rename productcatalogservice to product-catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck committed Dec 24, 2024
1 parent 2d5f804 commit ec00ef8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ services:
# Product Catalog service
product-catalog:
image: ${IMAGE_NAME}:${DEMO_VERSION}-product-catalog
container_name: product-catalog-service
container_name: product-catalog
build:
context: ./
dockerfile: ${PRODUCT_CATALOG_DOCKERFILE}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ services:
# Product Catalog service
product-catalog:
image: ${IMAGE_NAME}:${DEMO_VERSION}-product-catalog
container_name: product-catalog-service
container_name: product-catalog
build:
context: ./
dockerfile: ${PRODUCT_CATALOG_DOCKERFILE}
Expand Down
2 changes: 1 addition & 1 deletion src/product-catalog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ WORKDIR /usr/src/app/
COPY ./src/product-catalog/products/ ./products/
COPY --from=builder /go/bin/product-catalog/ ./

EXPOSE ${PRODUCT_SERVICE_PORT}
EXPOSE ${PRODUCT_CATALOG_PORT}
ENTRYPOINT [ "./product-catalog" ]
6 changes: 3 additions & 3 deletions src/product-catalog/genproto/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ WORKDIR /build

RUN apk add --no-cache protobuf-dev

COPY ./src/productcatalogservice/go.mod ./
COPY ./src/productcatalogservice/go.sum ./
COPY ./src/productcatalogservice/tools.go ./
COPY ./src/product-catalog/go.mod ./
COPY ./src/product-catalog/go.sum ./
COPY ./src/product-catalog/tools.go ./

RUN go env -w GOMODCACHE=/root/.cache/go-build
RUN --mount=type=cache,target=/root/.cache/go-build \
Expand Down

0 comments on commit ec00ef8

Please sign in to comment.