question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSS is not applied in Docker image

See original GitHub issue

Describe the bug

CSS style is not applied.

To Reproduce

Run the docker version :

docker run -it -p 8080:8080 -v `pwd`/mydata:/label-studio/data heartexlabs/label-studio:latest`

Expected behavior

Having CSS style.

Screenshots

image

Environment

  • OS: Ubuntu 18.04
  • Chromium 89
  • Docker
  • Label Studio Version “latest”

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flavienbwkcommented, Apr 12, 2021

Seem to work now.

0reactions
silverlining21commented, Apr 13, 2021

@silverlining21 , The [ERROR] you face only affects /version endpoint, but shouldn’t break other things somehow. To overcome it, simply run

python label_studio/core/version.py

right before running docker build command. Do you also have that missed CSS issue?

It did not affect using LS’s function.

Read more comments on GitHub >

github_iconTop Results From Across the Web

site.css styles not being applied to Docker image with Visual ...
I am using Windows to build a Linux container with Visual Studio 2017; I make a change to site.
Read more >
Running with docker does not load css and js assets #46
I then built the docker image: docker build -t snowstorm-browser-nginx . then ran it with the following command: docker run --name snowstorm- ...
Read more >
Image-building best practices - Docker Documentation
Tips for building the images for our application.
Read more >
[Solved]-Docker Asp.Net Core css is not applied-docker
Coding example for the question Docker Asp.Net Core css is not applied-docker.
Read more >
Missing js/css files missing from openedx Docker image (in ...
After building this image, I find that the files & Uploads can not work. But in this version. these file are missed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found