Skip to content

Commit 946526f

Browse files
committed
added file permissions
1 parent 326d859 commit 946526f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM public.ecr.aws/lambda/nodejs:18-x86_64
2-
3-
COPY dist ${LAMBDA_TASK_ROOT}/dist
4-
COPY package.json ${LAMBDA_TASK_ROOT}
5-
COPY src ${LAMBDA_TASK_ROOT}/src
6-
COPY index.js ${LAMBDA_TASK_ROOT}
7-
COPY node_modules ${LAMBDA_TASK_ROOT}/node_modules
8-
1+
FROM public.ecr.aws/lambda/nodejs:18-x86_64
2+
3+
COPY dist ${LAMBDA_TASK_ROOT}/dist
4+
COPY package.json ${LAMBDA_TASK_ROOT}
5+
COPY src ${LAMBDA_TASK_ROOT}/src
6+
COPY index.js ${LAMBDA_TASK_ROOT}
7+
COPY node_modules ${LAMBDA_TASK_ROOT}/node_modules
8+
9+
RUN chmod -R +x ${LAMBDA_TASK_ROOT}/node_modules/puppeteer-chromium
10+
911
CMD [ "index.handler" ]

0 commit comments

Comments
 (0)