2 months ago
Everything seems ok what is werid as in the image i have sent it tries to copy .env.example which doesn't exits in project not sure what does that mean
16 Replies
2 months ago
The file .env.example doesn't exist when it's trying to copy it.
Also, there's no need to copy a .env.example file. You can directly inject environment variables into the container (or during build time) as needed.
2 months ago
Exactly, that's the issue.
2 months ago
it's trying to copy something that doesn't exist.
2 months ago
Update your Dockerfile such that it's not trying to copy the .env.example file.
2 months ago
My bad.
Is there a Railpack configuration file somewhere?
all i have is
bun run --filter '@projects/platform' build <- for the bulld
bun run --filter '@projects/platform' start <- for deploythats it
Just as quick fix i have added .env.example but i still don't understand why defaults railpack require .env.example