Hey guys, I’m creating a new PY project living tog...
# sst
a
Hey guys, I’m creating a new PY project living together with my other TS/JS lambdas… But during compile I’m getting this error:
Copy code
Bundling dependencies for backend/src/pythonTest in Docker...
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Not sure why is requiring to run on Docker? This is the definition in my stack:
Copy code
new Function(this, 'MyPythonTestLambda', {
      srcPath: 'backend/src/pythonTest',
      handler: 'index.main',
      runtime: 'python3.7',
    });
f
Hey @Adrián Mouly, on
sst deploy
Python packages (ie. requirements.txt) is always pulled and built inside a docker image that matches the Lambda runtime.
a
Ok makes sense.