This commit is contained in:
parent
7facce4589
commit
4c571e0c40
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
FROM library/golang:1.21 AS build
|
FROM library/golang:1.21 AS build
|
||||||
ADD . /go/lockserver
|
ADD . /go/lockserver
|
||||||
WORKDIR /go/lockserver
|
WORKDIR /go/lockserver
|
||||||
RUN CGO_ENABLED=0 go build .
|
RUN CGO_ENABLED=0 go build ./cmd/lockserver
|
||||||
|
|
||||||
FROM library/alpine
|
FROM library/alpine
|
||||||
COPY --from=build /go/lockserver/lockserver /lockserver
|
COPY --from=build /go/lockserver/lockserver /lockserver
|
||||||
|
|
Loading…
Reference in a new issue