Last active
November 16, 2019 23:04
-
-
Save greaveselliott/6464122ac2ed6f2633dd7ff8b25fae39 to your computer and use it in GitHub Desktop.
Using the alpine long term support node image
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
# Use the Node LTS image | |
# Build step named 'builder' | |
FROM node:lts-alpine AS builder | |
# Set the default working directory | |
WORKDIR /root | |
# Copying the project repo to the builder images default working directory /root | |
COPY . . | |
# Installing JS dependencies | |
RUN yarn | |
# Building the app | |
RUN yarn build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment