fix(Dockerfile): copies de fichiers et dossiers après rename
This commit is contained in:
parent
a76a907ce5
commit
4b78ab89d6
1 changed files with 1 additions and 21 deletions
22
Dockerfile
22
Dockerfile
|
@ -6,34 +6,14 @@ LABEL author="Victor Lacasse-Beaudoin <vlbeaudoin@agecem.org>"
|
||||||
|
|
||||||
WORKDIR /go/src/app
|
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 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 templates/ templates/
|
||||||
|
|
||||||
ADD version/ version/
|
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'" .
|
RUN CGO_ENABLED=0 go build -a -o agecem-org -ldflags="-X 'git.agecem.com/agecem/agecem-org/version.version=$agecem_org_version'" .
|
||||||
|
|
||||||
# Alpine
|
# Alpine
|
||||||
|
|
Loading…
Reference in a new issue