Giter Club home page Giter Club logo

Comments (5)

githubsaturn avatar githubsaturn commented on May 29, 2024

The files in "persistent directory" don't get updated - they are overriden by Docker volumes.

By any chance, do you have any volumes set up on your application?

from caprover.

wp-coin avatar wp-coin commented on May 29, 2024

I don't know, I didn't manually set up any volumes, I assume caprover will do that

so I need to copy files in my persistence directory in?

I did setup persistent directories ( path in app /config/www ) and gave it a label

but not sure what path to put in my Docker file ( COPY ./ /config/www/ )

from caprover.

githubsaturn avatar githubsaturn commented on May 29, 2024

Yes, in that case you can't override the content with image. Those files are mapped to a directory on disk.

This is not CapRover specific and it's just how docker works:
Read this for example:
https://www.reddit.com/r/docker/comments/h95lxv/comment/fuv3lbh/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button

from caprover.

wp-coin avatar wp-coin commented on May 29, 2024

that link you gave me does not say much, I understand that the updates are being pulled from the volume to the image, but I originally uploaded my files to the image with Docker file

from caprover.

githubsaturn avatar githubsaturn commented on May 29, 2024

but I originally uploaded my files to the image with Docker file

Like I said, it doesn't matter if you push your files. The files in the volume (aka persistent directory) will be ignored by the image push. They'll continue to be the dame files as the app was first created

from caprover.

Related Issues (20)

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.