Giter Site home page Giter Site logo

Comments (4)

crazycapivara avatar crazycapivara commented on September 26, 2024 1

Hm
I cannot reproduce your issue.

you may overwrite the startup command when starting the container.

docker run --rm --name kepler.gl -p 8080:8080 \
  crazycapivara/kepler.gl webpack-dev-server --progress --port 8080 --host 0.0.0.0

This is the current startup cmd:

CMD ["webpack-dev-server", "--progress", "--port", "80", "--host", "0.0.0.0"]

from docker-kepler.gl.

crazycapivara avatar crazycapivara commented on September 26, 2024

@francois-baptiste
-p 8080:80 is just the docker port mapping.
Maybe on your machine 8080 ist already in use, so just map the container to another port like 8181 or whatever.

from docker-kepler.gl.

francois-baptiste avatar francois-baptiste commented on September 26, 2024

The problem do not come from the allocation of the destination port.
The issue is the same for port 8081 or whatever...

The issue comes from some hardlink to localhost:80 in the uri of some js dependency when served from the container and then when I browse the site from the host machine it fails...

from docker-kepler.gl.

francois-baptiste avatar francois-baptiste commented on September 26, 2024

Yes this do the trick. Thank you very much!

To reproduce the issue:
docker run --name kepler.gl -p 8080:80 -d crazycapivara/kepler.gl
Then open localhost:8080 with debug console in your browser.

image

from docker-kepler.gl.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.