Skip to content

Instantly share code, notes, and snippets.

@VisualBean
Created January 3, 2019 22:45
Show Gist options
  • Save VisualBean/e476f6c8aa02ee207ed5fc66b54fc94f to your computer and use it in GitHub Desktop.
Save VisualBean/e476f6c8aa02ee207ed5fc66b54fc94f to your computer and use it in GitHub Desktop.

Revisions

  1. VisualBean created this gist Jan 3, 2019.
    13 changes: 13 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    FROM node:8.15-alpine
    RUN apk --no-cache add git

    WORKDIR /usr/src/app

    COPY package*.json ./

    RUN npm install

    COPY . .

    EXPOSE 80
    CMD [ "npm", "start" ]