diff --git a/stress/proxy/Dockerfile b/stress/proxy/Dockerfile index cfefcf97e2e..2d6db954c9a 100644 --- a/stress/proxy/Dockerfile +++ b/stress/proxy/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /s COPY go.mod go.sum ./ RUN go mod download -COPY *.go ./ +COPY . ./ RUN go build -o /rtsp-simple-server . COPY stress/proxy/start.sh / diff --git a/stress/publish/Dockerfile b/stress/publish/Dockerfile index 17871af4990..8d288c03d7f 100644 --- a/stress/publish/Dockerfile +++ b/stress/publish/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /s COPY go.mod go.sum ./ RUN go mod download -COPY *.go ./ +COPY . ./ RUN go build -o /rtsp-simple-server . COPY stress/publish/start.sh / diff --git a/stress/read/Dockerfile b/stress/read/Dockerfile index c5dbca91da4..884755343e7 100644 --- a/stress/read/Dockerfile +++ b/stress/read/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /s COPY go.mod go.sum ./ RUN go mod download -COPY *.go ./ +COPY . ./ RUN go build -o /rtsp-simple-server . COPY stress/read/start.sh /