mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[PR #96] [MERGED] Serve libraries locally in the docker container #541
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#541
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/96
Author: @kaysond
Created: 11/28/2021
Status: ✅ Merged
Merged: 11/30/2021
Merged by: @nitnelave
Base:
main← Head:main📝 Commits (10+)
8aafcefserver libraries locally in the docker container100ee47fix typo5d21409remove unnecessary attrs9501a41add icon fonts to library listb9426e1fix rust formattingdea62c0add bootstrap global var to rollup command9f9ed5bdownload static fonts to their own directoryfb05ec8add SRI back9a12733fix icons downloadd419b36add SRI for other resources; add routing for all root requests📊 Changes
9 files changed (+90 additions, -16 deletions)
View changed files
📝
Dockerfile(+4 -1)📝
app/build.sh(+1 -1)📝
app/index.html(+11 -4)➕
app/index_local.html(+37 -0)➕
app/static/fonts.css(+18 -0)➕
app/static/fonts/fonts.txt(+3 -0)➕
app/static/libraries.txt(+4 -0)📝
app/static/style.css(+0 -0)📝
server/src/infra/tcp_server.rs(+12 -10)📄 Description
Addresses #93
Created a
staticdirectory and theindex_local.htmlthat gets copied in the container. I put all of the libraries instatic/libraries.txtand the container automatically downloads all of the files in that list.I had to manually add/modify the google fonts css file since it includes font imports that also need to be downloaded.
I also cleaned up the tcp_server a little in terms of routing.
Everything works fine, but I am getting some warnings on build:
Not sure if this is old or caused by making bootstrap local.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.