diff --git a/code/back/validator/Dockerfile b/code/back/validator/Dockerfile index 3ec7e38..1406e89 100644 --- a/code/back/validator/Dockerfile +++ b/code/back/validator/Dockerfile @@ -2,9 +2,9 @@ FROM golang:alpine AS builder WORKDIR /app COPY . . RUN apk add --no-cache make -RUN go build -ldflags "-s -w" -o ./bin/integrator ./cmd +RUN go build -ldflags "-s -w" -o ./bin/validator ./cmd FROM alpine:latest AS runner WORKDIR /app -COPY --from=builder /app/bin/integrator . -CMD ["./integrator"] +COPY --from=builder /app/bin/validator . +CMD ["./validator"]