cli icon indicating copy to clipboard operation
cli copied to clipboard

static_files ignored when deploying without docker

Open tonxxd opened this issue 2 months ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: set static_files in config.toml deploy supabase edge function --use-docker terminal will say

WARNING: Docker is not running

if docker is not running

the function deployed does not have the static files. if docker is runnign it will have them

Expected behavior either throw if static_files is set and docker is not running or support static_files in non docker mode

tonxxd avatar Nov 30 '25 20:11 tonxxd

hi @tonxxd thanks for reporting this! looked into this. when docker isn't running, the cli falls back to native bundler which requires edge runtime installed locally for static file bundling. ill add a check that returns an error when static_files is configured but docker isn't available. will create a pr shortly.

7ttp avatar Nov 30 '25 22:11 7ttp