Skip to content

Commit 81299b1

Browse files
committed
fix cli dockerfile as wel
1 parent 288667c commit 81299b1

File tree

1 file changed

+2
-0
lines changed
  • packages/@aws-cdk-testing/cli-integ/resources/cdk-apps/sam_cdk_integ_app/src/docker/DockerImageFunctionConstruct

1 file changed

+2
-0
lines changed

packages/@aws-cdk-testing/cli-integ/resources/cdk-apps/sam_cdk_integ_app/src/docker/DockerImageFunctionConstruct/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ COPY app.js package.json ./
55

66
RUN npm install
77

8+
USER nobody
9+
810
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
911
CMD [ "app.lambdaHandler" ]

0 commit comments

Comments
 (0)