Merge pull request 'fix: dockerfile ne copie pas les go source files de la racine' (#31) from vlbeaudoin/fix/dockerfile-v8 into main

Reviewed-on: #31
This commit is contained in:
Victor Lacasse-Beaudoin 2025-03-27 17:52:51 -04:00
commit cdd6083dc6

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/