🚧 fix tasks and Dockerfile

This commit is contained in:
Jörn-Michael Miehe 2026-02-22 01:31:07 +00:00
parent cc333497b0
commit cbfc1d25c6
2 changed files with 16 additions and 5 deletions

View file

@ -25,9 +25,9 @@ RUN --mount=type=cache,id=ui,target=/root/.yarn \
set -ex; \
\
yarn dlx update-browserslist-db@latest; \
yarn build --dest /opt/advent22/ui; \
yarn build --outDir /opt/advent22/ui; \
# exclude webpack-bundle-analyzer output
rm -f /opt/advent22/ui/report.html;
rm -f /opt/advent22/ui/stats.html;
###############

17
ui/.vscode/tasks.json vendored
View file

@ -3,10 +3,21 @@
"tasks": [
{
"type": "npm",
"script": "serve",
"script": "dev",
"problemMatcher": [],
"label": "UI starten",
"detail": "vue-cli-service serve"
"label": "UI starten"
},
{
"type": "npm",
"script": "lint",
"problemMatcher": ["$eslint-compact"],
"label": "Linter"
},
{
"type": "npm",
"script": "format",
"problemMatcher": [],
"label": "Formatter"
}
]
}