test
continuous-integration/drone/push Build is passing Details

master
icechen 2021-12-30 00:10:10 +08:00
parent a8df0d9ec2
commit 39ab44f9ae
1 changed files with 1 additions and 1 deletions

View File

@ -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