Skip to content

Instantly share code, notes, and snippets.

@sachith-1
Last active April 27, 2022 10:50
Show Gist options
  • Save sachith-1/b34a013b5caff72c0344f11d72caa8f2 to your computer and use it in GitHub Desktop.
Save sachith-1/b34a013b5caff72c0344f11d72caa8f2 to your computer and use it in GitHub Desktop.
Dockerfile for docker builder pattern demo - builder
FROM node:17.9.0
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run lint && npm run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment