Skip to content

Instantly share code, notes, and snippets.

@ridomin
Created July 31, 2019 06:23
Show Gist options
  • Select an option

  • Save ridomin/b4cf1a1bb396f28a8108224d2df0168c to your computer and use it in GitHub Desktop.

Select an option

Save ridomin/b4cf1a1bb396f28a8108224d2df0168c to your computer and use it in GitHub Desktop.
FROM node:10.16.0-alpine
WORKDIR /usr/app
COPY ./package.json ./
RUN npm install --quiet
COPY . .
RUN npm run build
EXPOSE 3001
CMD ["node", "server/server.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment