Comments (5)
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.
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.
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.
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.
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)
- root ssh login HOT 3
- Nginx deployment issue HOT 2
- Caprover restarts endlessly HOT 6
- Volumes wont attatch HOT 1
- [General Question] change captain-overlay-network subnet HOT 1
- Captain crashes on new server if registry is not set up HOT 1
- [Deployment Issue] Deploy from github using image doesn't work. HOT 2
- How to update the certificate of my self hosted registry? HOT 1
- Net Core 8.0 github actions deploy HOT 1
- Deployment Issue: SourceGuardian PHP Extension on One-Click App HOT 7
- [Deployment Issue] persistent storage not available during deployment HOT 1
- Caprover does not clean up registry HOT 1
- [Deployment Issue] React App Refresh Results in 404 Error Despite Nginx Configuration Modifications HOT 4
- Problem renewing the ssl certificate from caprover HOT 2
- [Question] Set source directory HOT 3
- [Question] Access CapRover dashboard through a secure connection HOT 4
- [Deployment Issue] 'Captain-definition file does not exist' after updating repo structure HOT 4
- Invalid credentials and Apps were incorrupted.
- [Question] Can you use network_mode with CapRover HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caprover.