Skip to content

Commit

Permalink
image
Browse files Browse the repository at this point in the history
  • Loading branch information
olegdayo committed Dec 1, 2024
1 parent 71ed79f commit 1abb09d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/back/validator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 1abb09d

Please sign in to comment.