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:
+1
-2
@@ -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"]
|
||||
|
||||
Vendored
-8426
File diff suppressed because it is too large
Load Diff
Vendored
-3382
File diff suppressed because it is too large
Load Diff
Vendored
-1
@@ -1 +0,0 @@
|
||||
Failed to fetch version info for lunr-flex.
|
||||
Vendored
-1570
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user