lollms-webui icon indicating copy to clipboard operation
lollms-webui copied to clipboard

Static and Templates folder are not in the repository anymore

Open eleonne opened this issue 1 year ago • 1 comments

Expected Behavior

docker-compose build should build the image

Current Behavior

=> ERROR [webui 6/10] COPY ./static /srv/static
=> ERROR [webui 7/10] COPY ./templates /srv/templates

Steps to Reproduce

  1. git clone the repo
  2. docker-compose build

Possible Solution

Add the static and templates folder back into the main branch

Context

Screenshots

eleonne avatar Nov 13 '23 14:11 eleonne

I'm guessing that that line of Dockerfile could just be removed. It seems like the css file contents were moved elsewhere. I examined 7aa3cc90b4f4ce84f171275c505c27945b9ec779, which was the last commit that that directory is mentioned and one of the files was static/css/tailwind-dark.css. One of the directives in that file was @media (min-width: 1024px) and that ended up in web/dist/assets/index-4ffd8c20.css . The web/ directory is one of the other directories copied in Dockerfile, so we're probably safe just removing it.

I'm going to test that out and possibly open it as a PR against this issue.

LTangaF avatar Dec 08 '23 20:12 LTangaF