Created
July 13, 2021 16:47
-
-
Save jamesseanwright/8f1e1403e30c02621645f936a93da3d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM amazon/aws-lambda-nodejs:14 | |
ARG handler | |
COPY ./package.json ./package-lock.json /var/task/ | |
COPY ./common /var/task/common | |
COPY ./${handler} /var/task/handler | |
WORKDIR /var/task | |
RUN ["npm", "i", "--production"] | |
CMD ["handler/index.handler"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment