Created
August 17, 2020 19:38
-
-
Save simonjcarr/c7f9a5745e7d4a21886722e0df6d6b5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node:12-alpine | |
| RUN npm install -g http-server | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . ./ | |
| RUN npm run build | |
| EXPOSE 8080 | |
| CMD [ "http-server", "dist" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment