Last active
April 22, 2020 13:47
-
-
Save mtimbs/bea8c65bee5ccea5aab6b38ba84e8114 to your computer and use it in GitHub Desktop.
Example base image for Gitlab pipelines for node/typescript serverless projects
This file contains hidden or 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 node:12 | |
WORKDIR /app | |
# install JRE for dynamo-offline (required for tests) | |
RUN apt-get update \ | |
&& apt-get install -y default-jre \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install serverless globally | |
RUN npm i -g serverless |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment