chores: Uniformiser case pour statements dans Dockerfile #27

Merged
vlbeaudoin merged 1 commit from vlbeaudoin/chores/fix-capitalization-Dockerfile into main 2025-02-17 17:56:07 -05:00 AGit
Showing only changes of commit b7c4b1a4be - Show all commits

View file

@ -1,30 +1,30 @@
FROM golang:1.23 as build from golang:1.23 as build
LABEL author="Victor Lacasse-Beaudoin <vlbeaudoin@agecem.org>" label author="Victor Lacasse-Beaudoin <vlbeaudoin@agecem.org>"
LABEL license="MIT" label license="MIT"
LABEL licensee="AGECEM" label licensee="AGECEM"
LABEL repo="https://git.agecem.com/agecem/babillard" label repo="https://git.agecem.com/agecem/babillard"
WORKDIR /go/src/app workdir /go/src/app
COPY go.mod go.sum ./ copy go.mod go.sum ./
ADD cmd/ cmd/ add cmd/ cmd/
ADD pkg/ pkg/ add pkg/ pkg/
ADD ui/ ui/ add ui/ ui/
RUN CGO_ENABLED=0 go build -a ./cmd/babillard/ run CGO_ENABLED=0 go build -a ./cmd/babillard/
# Alpine # Alpine
FROM alpine:3.21 from alpine:3.21
RUN apk update && apk upgrade --no-cache run apk update && apk upgrade --no-cache
WORKDIR /app workdir /app
ADD contenu/ contenu/ add contenu/ contenu/
COPY --from=build /go/src/app/babillard /usr/bin/babillard copy --from=build /go/src/app/babillard /usr/bin/babillard
CMD ["babillard", "server"] cmd ["babillard", "server"]