Update Dockerfile avec packages présents

This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-15 18:16:39 -04:00
parent dc72748fbe
commit 2bae4f5312

View file

@ -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 .