-
developing container:
mkdir -p project cd .docker/ ./docker-build.sh ./docker-run.sh
-
and if everything is successful we are running inside container. At this time we can run basic creation of React app commands:
cd project/ npx create-react-app . npm i ....
-
[OPTIONAL] we can override env variables in an
.env
file:PORT=3000 DOMAIN=localhost PUBLIC_URL=http://localhost:3000
-
starting project inside container:
npm start
-
Notifications
You must be signed in to change notification settings - Fork 0
google85/docker-react-dev
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Docker container for developing react applications
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published