This commit is contained in:
parent
a8df0d9ec2
commit
39ab44f9ae
@ -9,7 +9,7 @@ WORKDIR /go/src
|
||||
ADD . .
|
||||
RUN go mod tidy
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o service_example_service ./app/api/example_ervice
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o service_example_service ./app/service/example_service
|
||||
FROM alpine as example_service
|
||||
WORKDIR /go/src
|
||||
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user