From d7945b4d8447ad4cc3efff5e4b5e9efd0a9e6028 Mon Sep 17 00:00:00 2001 From: kieran Date: Wed, 13 Nov 2024 19:58:36 +0000 Subject: [PATCH] chore: dockerfile warnings --- .drone.yml | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6aaefac..e8f9f9d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,10 @@ kind: pipeline type: kubernetes name: default - +concurrency: + limit: 1 metadata: namespace: git - steps: - name: build image: docker diff --git a/Dockerfile b/Dockerfile index 1a23249..4c902c1 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG IMAGE=rust:bookworm -FROM $IMAGE as build +FROM $IMAGE AS build WORKDIR /app/src ENV FFMPEG_DIR=/app/ffmpeg COPY . . @@ -27,7 +27,7 @@ RUN git clone --depth=1 https://git.ffmpeg.org/ffmpeg.git && \ make -j$(nproc) && make install RUN cargo install --path . --bin zap-stream-core --root /app/build -FROM $IMAGE as runner +FROM $IMAGE AS runner WORKDIR /app RUN apt update && \ apt install -y libx264-164 && \