Skip to content

Instantly share code, notes, and snippets.

@mtimbs
Last active April 22, 2020 13:47
Show Gist options
  • Save mtimbs/bea8c65bee5ccea5aab6b38ba84e8114 to your computer and use it in GitHub Desktop.
Save mtimbs/bea8c65bee5ccea5aab6b38ba84e8114 to your computer and use it in GitHub Desktop.
Example base image for Gitlab pipelines for node/typescript serverless projects
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