mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 19:17:41 +03:00
Prepare for pull request. Remove specific configurations
This commit is contained in:
parent
46415ffeb5
commit
2a4d7e4766
@ -12,10 +12,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/main/Dockerfile
|
dockerfile: docker/main/Dockerfile
|
||||||
# Use args to specify hailort version ans location
|
# Use args to specify hailort version and location
|
||||||
args:
|
# args:
|
||||||
HAILORT_VERSION: "5.1.1"
|
# HAILORT_VERSION: "5.1.1"
|
||||||
HAILORT_GIT_REPO: "mathieu-d/hailort"
|
# HAILORT_GIT_REPO: "mathieu-d/hailort"
|
||||||
|
|
||||||
# Use target devcontainer-trt for TensorRT dev
|
# Use target devcontainer-trt for TensorRT dev
|
||||||
target: devcontainer
|
target: devcontainer
|
||||||
## Uncomment this block for nvidia gpu support
|
## Uncomment this block for nvidia gpu support
|
||||||
@ -31,8 +32,7 @@ services:
|
|||||||
# devices:
|
# devices:
|
||||||
# - /dev/bus/usb:/dev/bus/usb # Uncomment for Google Coral USB
|
# - /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
|
# - /dev/dri:/dev/dri # for intel hwaccel, needs to be updated for your hardware
|
||||||
devices:
|
|
||||||
- /dev/hailo0
|
|
||||||
volumes:
|
volumes:
|
||||||
- .:/workspace/frigate:cached
|
- .:/workspace/frigate:cached
|
||||||
- ./web/dist:/opt/frigate/web:cached
|
- ./web/dist:/opt/frigate/web:cached
|
||||||
|
|||||||
@ -334,8 +334,6 @@ CMD ["sleep", "infinity"]
|
|||||||
# This should be architecture agnostic, so speed up the build on multiarch by not using QEMU.
|
# This should be architecture agnostic, so speed up the build on multiarch by not using QEMU.
|
||||||
FROM --platform=$BUILDPLATFORM node:20 AS web-build
|
FROM --platform=$BUILDPLATFORM node:20 AS web-build
|
||||||
|
|
||||||
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
COPY web/package.json web/package-lock.json ./
|
COPY web/package.json web/package-lock.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user