fix(docker): include install.html and wizard vendor assets in prod image

This commit is contained in:
Nexus Deploy
2026-06-06 00:36:03 +08:00
parent 83ce11f55c
commit 343def7e77
+7
View File
@@ -27,6 +27,13 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY server/ ./server/
COPY web/agent/ ./web/agent/
COPY --from=frontend /build/web/app ./web/app/
# Install wizard (Alpine + Tailwind static page; not part of Vite build)
COPY web/app/install.html ./web/app/install.html
COPY web/app/vendor/tailwindcss-browser.js \
web/app/vendor/theme-init.js \
web/app/vendor/theme.css \
web/app/vendor/alpinejs.min.js \
./web/app/vendor/
COPY docker/entrypoint.sh ./docker/entrypoint.sh
RUN chmod +x ./docker/entrypoint.sh