Hi all,
files structure for my project is as follows:
- data (directory)
- app:
- global. R
- server. R
- ui. R
- Dockerfile
In the code of my shiny app I use …/data/ (2 dots, slash, data - can’t get rid of autocorrection) to access files from data directory and it works. But it seems to be invalid when I dockerize the app. Data directory is a volume I want to keep outside the container. I am not sure how to mount it as a volume, what is the right syntax in this case. It’s all about moving to the parent directory of my app. And the constraint is the code must not be changed, i. e. I still want to use …/data in the code.
All advices are appreciated