Created
April 13, 2019 19:30
-
-
Save schadokar/f8e954b7d9c39e447ad05e60247e5dcc to your computer and use it in GitHub Desktop.
docker-ethereum Dockerfile client
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
| # using node alpine as base image | |
| FROM node:alpine | |
| # working dir ./app | |
| WORKDIR /app | |
| # Copy react package.json | |
| COPY ./package.json . | |
| # install dependencies | |
| RUN npm install | |
| # COPY client directory folder | |
| COPY . . | |
| # default command | |
| CMD ["npm","start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment