diff --git a/Dockerfile b/Dockerfile index addb8c0..28f548e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ RUN apk add --no-cache libreoffice git WORKDIR /go/src/github.com/jgoelen/libreconv COPY . . RUN go test -RUN CGO_ENABLED=0 GOOS=linux go build -a -o libreconv +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o libreconv FROM alpine:3.6 RUN apk add --no-cache libreoffice msttcorefonts-installer && update-ms-fonts && fc-cache -f @@ -11,4 +11,4 @@ WORKDIR /app COPY --from=builder /go/src/github.com/jgoelen/libreconv /app/ ENV GIN_MODE=release EXPOSE 8080 -ENTRYPOINT ./libreconv \ No newline at end of file +ENTRYPOINT ./libreconv