Giter VIP home page Giter VIP logo

Comments (4)

WingsZeng avatar WingsZeng commented on August 23, 2024

Sorry, I knew few about docker. May be you could use docker cp to copy files to the container?
I would be very grateful if you could contribute a more wisely implementation.

from cw-dark-epub.

TheAnachronism avatar TheAnachronism commented on August 23, 2024

So this would work, but you'd have to add /app/calibre-web/cps/static as a docker volume.
Currently, that directory doesn't seem large so no problem, but I'm not certain how well it goes with updating the container.

from cw-dark-epub.

Jdemuren avatar Jdemuren commented on August 23, 2024

So this would work, but you'd have to add /app/calibre-web/cps/static as a docker volume. Currently, that directory doesn't seem large so no problem, but I'm not certain how well it goes with updating the container.

Thanks for figuring this out but I am still confused. In the volume mapping; what should I name the volume container (tried "static" but didn't work) and bind to host (/app/calibre-web/cps/static).
Any further help would be appreciated.
Thanks

from cw-dark-epub.

TheAnachronism avatar TheAnachronism commented on August 23, 2024

OK, so something I missed, you have to mount the entire /app/calibre-web/cps directory.
So in docker-compose something like this:

# where you map volumes:
  volumes:
    - cps_data:/app/calibre-web/cps

volumes:
  cps_data:

I haven't been able to test this out, so I'm uncertain if this works.

from cw-dark-epub.

Related Issues (1)

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.