chore(build): remove obsolete downloaded JS bundles and update Dockerfile

Remove minified JavaScript libraries that were previously downloaded during
postinstall (htmx.min.js, highlight.min.js, lunr.min.js, lunr-flex.min.js).
These are now bundled via esbuild from npm packages.

Update Dockerfile to remove the now-unnecessary postinstall npm script execution,
streamlining the container build process.
This commit is contained in:
2026-03-06 20:18:06 -05:00
parent 8e48de5607
commit e16923395b
5 changed files with 1 additions and 13381 deletions
+1 -2
View File
@@ -30,7 +30,6 @@ RUN cd templates && templ generate
# Build frontend assets (only these rebuild on web/ changes)
RUN npm run build:css:prod
RUN npm run postinstall
RUN npm run build:ts
# Build Go binary (cached unless Go files or generated code changes)
@@ -90,4 +89,4 @@ COPY --from=builder /app/docs ./docs
EXPOSE 8765
# Run the binary
CMD ["./main"]
CMD ["./main"]
-8426
View File
File diff suppressed because it is too large Load Diff
-3382
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -1 +0,0 @@
Failed to fetch version info for lunr-flex.
-1570
View File
File diff suppressed because it is too large Load Diff