Skip to content

Instantly share code, notes, and snippets.

@mtheoryx
Created August 2, 2019 18:12
Show Gist options
  • Save mtheoryx/7aca0ee918bf6b034273ea87fda8b54f to your computer and use it in GitHub Desktop.
Save mtheoryx/7aca0ee918bf6b034273ea87fda8b54f to your computer and use it in GitHub Desktop.
#
# Base Image For Installing the Default Starter
FROM node:12.7.0-alpine as builder
#
# Install some build dependencies
RUN apk add --no-cache git
#
# Create and change into our working directory
WORKDIR /usr/builder
#
# Clone the starter repo, and cleanup
RUN git clone https://github.com/gatsbyjs/gatsby-starter-default.git . \
&& npm install \
&& rm -r .git/ \
&& rm .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment