From 1abb09d2045a4546edac7e195d3badc289c62729 Mon Sep 17 00:00:00 2001 From: olegdayo Date: Sun, 1 Dec 2024 19:22:05 +0300 Subject: [PATCH] image --- code/back/validator/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]