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(
6161 timeout: Duration .seconds (20 ), // default is 3 seconds
6262 code: Code .fromAsset (functionDir , {
6363 bundling: {
64- image: DockerImage .fromRegistry (" dummy" ),
64+ image: DockerImage .fromRegistry (" dummy" ), // replace with desired image from AWS ECR Public Gallery
6565 local: {
6666 tryBundle(outputDir : string ) {
6767 execSync (
6868 ` python3 -m pip install -r ${path .join (functionDir , " requirements.txt" )} -t ${path .join (outputDir )} --platform manylinux2014_x86_64 --only-binary=:all: `
6969 );
70- execSync (` rsync -rLv ${functionDir }/* ${path .join (outputDir )}` );
70+ execSync (` cp -r ${functionDir }/* ${path .join (outputDir )}` );
7171 return true ;
7272 },
7373 },
You can’t perform that action at this time.
0 commit comments