File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pages/[platform]/build-a-backend/functions/custom-functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ export const sayHelloFunctionHandler = defineFunction(
61
61
timeout: Duration .seconds (20 ), // default is 3 seconds
62
62
code: Code .fromAsset (functionDir , {
63
63
bundling: {
64
- image: DockerImage .fromRegistry (" dummy" ),
64
+ image: DockerImage .fromRegistry (" dummy" ), // replace with desired image from AWS ECR Public Gallery
65
65
local: {
66
66
tryBundle(outputDir : string ) {
67
67
execSync (
68
68
` python3 -m pip install -r ${path .join (functionDir , " requirements.txt" )} -t ${path .join (outputDir )} --platform manylinux2014_x86_64 --only-binary=:all: `
69
69
);
70
- execSync (` rsync -rLv ${functionDir }/* ${path .join (outputDir )}` );
70
+ execSync (` cp -r ${functionDir }/* ${path .join (outputDir )}` );
71
71
return true ;
72
72
},
73
73
},
You can’t perform that action at this time.
0 commit comments