fix: dockerfile ne copie pas les go source files de la racine #31

Merged
vlbeaudoin merged 1 commit from vlbeaudoin/fix/dockerfile-v8 into main 2025-03-27 17:52:52 -04:00 AGit

View file

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