Skip to content

Instantly share code, notes, and snippets.

@derianpt
Last active April 22, 2020 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derianpt/050d1cc660ce441c5e8cf34a01725bcb to your computer and use it in GitHub Desktop.
Save derianpt/050d1cc660ce441c5e8cf34a01725bcb to your computer and use it in GitHub Desktop.
front-end app
# Base image is Alpine with latest stable Node installed.
FROM node:alpine
# set working directory for subsequent commands
WORKDIR /front-end
# leverage build cache by copying npm package files first
COPY ./package*.json ./
RUN npm install
@mikezucc
Copy link

did you mean to say stable* Node?

@derianpt
Copy link
Author

did you mean to say stable* Node?

Ah yes, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment