denisinla / hello-docker-react

Your React.js environment in just one command.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello-docker-react

The easiest way to create a React app with server-side rendering thanks to Next.js.

Features: create-next-app, Docker and Yarn.

Running on Linux? Optional step for allowing linux non-root users to run docker commands:

$ sudo usermod -aG docker $USER

Build and start your React environment with single command:

Just run:

docker-compose up

And wait until the console returns a ready on https://localhost:3000

Test your install:

Extras:

Run commands into your container without going into, from your host machine:

docker-compose exec hello-docker-react mycommand

Enter into your container to run commands inside it (ssh-like):

docker-compose exec hello-docker-react bash

For advanced usage, follow the docker-compose command-line reference:

https://docs.docker.com/compose/reference/

About

Your React.js environment in just one command.

License:GNU General Public License v3.0


Languages

Language:Shell 57.5%Language:Dockerfile 42.5%