This PR makes a small improvement by allowing the SUNO_COOKIE variable to be passed via Docker Compose, rather than requiring a .env file in the Dockerfile.
The motivation for this is that in Docker Compose you can build from a GitHub repo directly without cloning/submoduling, e.g.,:
However, this doesn't work because the Dockerfile directly copies a .env file in the suno-api directory, which doesn't exist.
Therefore this PR lets me provide the SUNO_COOKIE variable as an argument to the Dockerfile in my top-level docker-compose.yml, and thus allow this easier integration:
Hi there, thanks a bunch for the repo.
This PR makes a small improvement by allowing the
SUNO_COOKIE
variable to be passed via Docker Compose, rather than requiring a.env
file in the Dockerfile.The motivation for this is that in Docker Compose you can build from a GitHub repo directly without cloning/submoduling, e.g.,:
However, this doesn't work because the
Dockerfile
directly copies a.env
file in thesuno-api
directory, which doesn't exist.Therefore this PR lets me provide the
SUNO_COOKIE
variable as an argument to the Dockerfile in my top-leveldocker-compose.yml
, and thus allow this easier integration: