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

Issue with Docker and env file #243

Open
omahon opened this issue Dec 3, 2024 · 3 comments
Open

Issue with Docker and env file #243

omahon opened this issue Dec 3, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@omahon
Copy link

omahon commented Dec 3, 2024

Opening this as cannot re-open an older closed related issue.

Getting the following error in Docker when using generated environment variables in a .env.[bsky-handle] file.
All relevant file permissions seem to be allowed so not sure what is causing the block, would appreciate any insight you can provide on this!

2024-12-03 13:05:00 touitomamout  | Error: No suitable .env file found.
2024-12-03 13:05:00 touitomamout  |     at file:///app/dist/index.js:10939:11 
2024-12-03 13:05:00 touitomamout  |     at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
2024-12-03 13:05:00 touitomamout  |     at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
2024-12-03 13:05:00 touitomamout  |     at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
2036-01-01 00:00:00 
touitomamout exited with code 1
@omahon omahon added the bug Something isn't working label Dec 3, 2024
@c240amg
Copy link

c240amg commented Dec 4, 2024

I have multiple env. files. I had issues with docker, and just went with the git download and manually syncing with node ./dist/index.js env.handle in multiple tmux sessions

@omahon
Copy link
Author

omahon commented Dec 10, 2024

I'm running on Windows so Docker would really be the best option for me... I'll try and debug manually but so far no joy

@tashokumar
Copy link

I did get the same error initially as well. But once I put the .env file under the relative path ./data/ it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants