From 2a4d7e47660dd4e7986d0ecc55f23075c65bec46 Mon Sep 17 00:00:00 2001 From: matieu-d Date: Tue, 14 Apr 2026 23:14:31 +0200 Subject: [PATCH] Prepare for pull request. Remove specific configurations --- docker-compose.yml | 12 ++++++------ docker/main/Dockerfile | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 96c1d87ea..304b01f09 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,10 +12,11 @@ services: build: context: . dockerfile: docker/main/Dockerfile - # Use args to specify hailort version ans location - args: - HAILORT_VERSION: "5.1.1" - HAILORT_GIT_REPO: "mathieu-d/hailort" + # Use args to specify hailort version and location + # args: + # HAILORT_VERSION: "5.1.1" + # HAILORT_GIT_REPO: "mathieu-d/hailort" + # Use target devcontainer-trt for TensorRT dev target: devcontainer ## Uncomment this block for nvidia gpu support @@ -31,8 +32,7 @@ services: # devices: # - /dev/bus/usb:/dev/bus/usb # Uncomment for Google Coral USB # - /dev/dri:/dev/dri # for intel hwaccel, needs to be updated for your hardware - devices: - - /dev/hailo0 + volumes: - .:/workspace/frigate:cached - ./web/dist:/opt/frigate/web:cached diff --git a/docker/main/Dockerfile b/docker/main/Dockerfile index 5cf54caeb..fde9a6d7d 100644 --- a/docker/main/Dockerfile +++ b/docker/main/Dockerfile @@ -334,8 +334,6 @@ CMD ["sleep", "infinity"] # This should be architecture agnostic, so speed up the build on multiarch by not using QEMU. FROM --platform=$BUILDPLATFORM node:20 AS web-build -ENV NODE_OPTIONS="--max-old-space-size=4096" - WORKDIR /work COPY web/package.json web/package-lock.json ./ RUN npm install