Skip to content

Commit

Permalink
remove unnecessary files from aws lambda image
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Jul 3, 2023
1 parent d17f767 commit 0423993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN mv target/release/sqlpage bootstrap && \
strip --strip-all bootstrap && \
size bootstrap && \
ldd bootstrap && \
zip -9 -r deploy.zip bootstrap index.sql documentation.sql sqlpage
zip -9 -r deploy.zip bootstrap index.sql

FROM public.ecr.aws/lambda/provided:al2 as runner
COPY --from=builder /usr/src/sqlpage/bootstrap /main
Expand Down

0 comments on commit 0423993

Please sign in to comment.