From 4b78ab89d614c54e1f99d95fa16d8c3a92bf03d1 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Thu, 22 Aug 2024 13:36:00 -0400 Subject: [PATCH] =?UTF-8?q?fix(Dockerfile):=20copies=20de=20fichiers=20et?= =?UTF-8?q?=20dossiers=20apr=C3=A8s=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index a51a2bc..aecbc06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,34 +6,14 @@ LABEL author="Victor Lacasse-Beaudoin " WORKDIR /go/src/app -COPY go.mod go.sum main.go ./ +COPY go.mod go.sum main.go client.go cmd.go config.go entity.go handler.go media.go request.go response.go ./ ADD public/ public/ -ADD cmd/ cmd/ - -ADD api/ api/ - -ADD apihandler/ apihandler/ - -ADD apirequest/ apirequest/ - -ADD apiresponse/ apiresponse/ - -ADD config/ config/ - -ADD media/ media/ - -ADD models/ models/ - ADD templates/ templates/ ADD version/ version/ -ADD webhandler/ webhandler/ - -Add webresponse/ webresponse/ - RUN CGO_ENABLED=0 go build -a -o agecem-org -ldflags="-X 'git.agecem.com/agecem/agecem-org/version.version=$agecem_org_version'" . # Alpine