Mettre à jour Dockerfile #26

Merged
vlbeaudoin merged 4 commits from feature/update-dockerfile into main 2023-03-22 16:20:04 -04:00
Showing only changes of commit b3036e5b33 - Show all commits

View file

@ -8,7 +8,7 @@ COPY go.mod go.sum main.go server.go ./
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
@ -18,6 +18,6 @@ RUN apk update && apk upgrade --no-cache
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"]