AA
This commit is contained in:
parent
eb6addd034
commit
8a1ea7af6c
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# build the go server
|
# build the go server
|
||||||
RUN go mod tidy && go build -o codex-server
|
RUN go mod tidy && CGO_ENABLED=0 go build -o codex-server
|
||||||
|
|
||||||
# create a smaller final image
|
# create a smaller final image
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue