Use watch mode for transcoder

This commit is contained in:
Zoe Roux
2025-05-19 14:10:35 +02:00
parent 4828fa08cf
commit af566150f5
4 changed files with 18 additions and 6 deletions
+3 -1
View File
@@ -24,11 +24,13 @@ RUN apt-get update \
ffmpeg libavformat-dev libavutil-dev libswscale-dev \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o ./transcoder
RUN GOOS=linux go build -o ./transcoder
# debian is required for nvidia hardware acceleration
# we use trixie (debian's testing because ffmpeg on latest is v5 and we need v6)