Skip to content

Instantly share code, notes, and snippets.

@panesardev
Created July 5, 2021 21:17
Show Gist options
  • Save panesardev/1c931316cdb4cc266487d5e10ca6f134 to your computer and use it in GitHub Desktop.
Save panesardev/1c931316cdb4cc266487d5e10ca6f134 to your computer and use it in GitHub Desktop.
FROM node:14.1-alpine
ENV NODE_ENV=production
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
CMD ["npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment