diff --git a/Dockerfile b/Dockerfile index 318357b..a91395f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,11 @@ COPY . . ENV DRONE_COMMIT=$DRONE_COMMIT ENV DRONE_TAG=$DRONE_TAG RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s -X main.version=$DRONE_TAG -X main.commit=$DRONE_COMMIT" -o "mediaconverter" . -RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s -X main.version=$DRONE_TAG -X main.commit=$DRONE_COMMIT" -o "faker" ./faker/ +RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s -X main.version=$DRONE_TAG -X main.commit=$DRONE_COMMIT" -o "faker-cli" ./faker/ FROM alfg/ffmpeg USER 1000:1000 COPY --from=builder /app/mediaconverter /mediaconverter -COPY --from=builder /app/faker /faker +COPY --from=builder /app/faker-cli /faker CMD ["/mediaconverter"]