Sign inSign up

craigrhodes/react

By craigrhodes

•Updated about 9 years ago

Image
0

321

craigrhodes/react repository overview

⁠Create a React App

docker run -it --rm -v "$PWD:/app" craigrhodes/react create-react-app <app_name>

then cd into the <app_name> folder and...

⁠Start development server on localhost port 3000

docker run -it --rm -v "$PWD:/app" -p 3000:3000 craigrhodes/react

Use atom with the nuclide package, VSCode, or atom beta with the atom-ide-ui and ide-typescript packages to facilitate development. Any saved changes will immediately cause the website to update.

⁠Dockerfile

FROM alpine RUN apk add --update nodejs nodejs-npm && npm install npm@latest -g RUN npm install -g yarn RUN yarn global add create-react-app WORKDIR /app CMD ["yarn", "start"]

Tag summary

Content type

Image

Digest

Size

22.4 MB

Last updated

about 9 years ago

docker pull craigrhodes/react