fix: dockerfile ne copie pas les go source files de la racine #31
1 changed files with 1 additions and 4 deletions
|
@ -7,10 +7,9 @@ label repo="https://git.agecem.com/agecem/babillard"
|
|||
|
||||
workdir /go/src/app
|
||||
|
||||
copy go.mod go.sum ./
|
||||
copy go.mod go.sum LICENSE cmd.go config.go contenu.go data.go handlers.go response.go ./
|
||||
|
||||
add cmd/ cmd/
|
||||
add pkg/ pkg/
|
||||
add ui/ ui/
|
||||
|
||||
run CGO_ENABLED=0 go build -a ./cmd/babillard/
|
||||
|
@ -19,8 +18,6 @@ run CGO_ENABLED=0 go build -a ./cmd/babillard/
|
|||
|
||||
from alpine:3.21
|
||||
|
||||
run apk update && apk upgrade --no-cache
|
||||
|
||||
workdir /app
|
||||
|
||||
add contenu/ contenu/
|
||||
|
|
Loading…
Add table
Reference in a new issue