Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deployment Issue] persistent storage not available during deployment #2062

Closed
tomaskikutis opened this issue May 20, 2024 · 1 comment
Closed

Comments

@tomaskikutis
Copy link

I'm using nextjs which pre-renders routes during deployment. It raises an error that it can't find my sqlite database which I have in a persistent directory. I did run an additional test by adding RUN ls / to my docker file and I see that my persistent directory is not printed.

Is there a way to allow deployment process access persistent directories?

@githubsaturn
Copy link
Collaborator

No, the deployment process is fully isolated from the runtime by design - per 12 factor app:
https://12factor.net/build-release-run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants