Update Dockerfile avec packages présents
This commit is contained in:
parent
dc72748fbe
commit
2bae4f5312
1 changed files with 7 additions and 5 deletions
12
Dockerfile
12
Dockerfile
|
@ -6,13 +6,15 @@ WORKDIR /go/src/app
|
||||||
|
|
||||||
COPY go.mod go.sum main.go ./
|
COPY go.mod go.sum main.go ./
|
||||||
|
|
||||||
|
ADD apiclient/ apiclient/
|
||||||
|
ADD apierror/ apierror/
|
||||||
|
ADD apihandler/ apihandler/
|
||||||
|
ADD apiresponse/ apiresponse/
|
||||||
ADD cmd/ cmd/
|
ADD cmd/ cmd/
|
||||||
ADD config/ config/
|
ADD config/ config/
|
||||||
ADD data/ data/
|
ADD dbclient/ dbclient/
|
||||||
ADD handlers/ handlers/
|
ADD webcontent/ webcontent/
|
||||||
ADD models/ models/
|
ADD webhandler/ webhandler/
|
||||||
ADD responses/ responses/
|
|
||||||
ADD templates/ templates/
|
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o bottin-ag .
|
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o bottin-ag .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue