Mettre à jour Dockerfile #26
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ COPY go.mod go.sum main.go server.go ./
|
||||||
|
|
||||||
ADD public/ public/
|
ADD public/ public/
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o app .
|
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o agecem-org .
|
||||||
|
|
||||||
# Alpine
|
# Alpine
|
||||||
|
|
||||||
|
@ -18,6 +18,6 @@ RUN apk update && apk upgrade --no-cache
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=build /go/src/app ./
|
COPY --from=build /go/src/app/agecem-org /usr/bin/agecem-org
|
||||||
|
|
||||||
CMD ["./app"]
|
CMD ["agecem-org"]
|
||||||
|
|
Loading…
Reference in a new issue