Move necessary files and cleanup build

This commit is contained in:
Nick Mowen 2022-12-17 15:34:17 -07:00
parent d34dbbca37
commit 3b81a3ce36

View File

@ -225,7 +225,9 @@ COPY web/package.json web/package-lock.json ./
RUN npm install RUN npm install
COPY web/ ./ 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 # Collect final files in a single layer
FROM scratch AS rootfs FROM scratch AS rootfs