Skip to content

Commit

Permalink
fix: refactor Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Nov 3, 2024
1 parent 4a992e7 commit 93e52d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/relationship-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS build

ARG SERVICE_NAME=relationship-manager-service
ARG SERVICE_NAME=relationship-manager

WORKDIR /build

Expand All @@ -25,9 +25,9 @@ RUN --mount=type=cache,target=/root/.cache/go-build \

FROM alpine

ARG SERVICE_NAME=relationship-manager-service
ARG SERVICE_NAME=relationship-manager

WORKDIR /app

COPY --from=build /build/$SERVICE_NAME /build/services/$SERVICE_NAME/run ./
CMD ["./relationship-manager-service"]
CMD ["./relationship-manager"]

0 comments on commit 93e52d9

Please sign in to comment.