Skip to content

Instantly share code, notes, and snippets.

@Bujhm
Forked from VisualBean/Dockerfile
Created May 14, 2021 11:34
Show Gist options
  • Save Bujhm/0818e23b75d873c846725987368de36f to your computer and use it in GitHub Desktop.
Save Bujhm/0818e23b75d873c846725987368de36f to your computer and use it in GitHub Desktop.

Revisions

  1. @VisualBean 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" ]