diff --git a/docker/Dockerfile b/docker/Dockerfile index 5f2be32..5c685e7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -27,7 +27,7 @@ COPY backend /app WORKDIR /app RUN mkdir -p /dist \ - && /scripts/go-multiarch-wrapper /dist/server + && /scripts/go-multiarch-wrapper /dist/server /dist/ipranges #=============== # Final image diff --git a/scripts/go-multiarch-wrapper b/scripts/go-multiarch-wrapper index 9748056..d2b7883 100755 --- a/scripts/go-multiarch-wrapper +++ b/scripts/go-multiarch-wrapper @@ -33,7 +33,7 @@ go build \ go build \ -buildvcs=false \ -ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \ - -o "${1:-/dist/ipranges}" \ + -o "${2:-/dist/ipranges}" \ ./cmd/ipranges # test binaries