mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Move necessary files and cleanup build
This commit is contained in:
parent
d34dbbca37
commit
3b81a3ce36
@ -225,7 +225,9 @@ COPY web/package.json web/package-lock.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY web/ ./
|
||||
RUN npm run build
|
||||
RUN npm run build \
|
||||
&& mv dist/BASE_PATH/monacoeditorwork/yaml.worker.bundle.js dist/assets/ \
|
||||
&& rm -rf dist/BASE_PATH
|
||||
|
||||
# Collect final files in a single layer
|
||||
FROM scratch AS rootfs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user