Update README and commands documentation
This commit is contained in:
parent
7e4f615f75
commit
8777f9d378
12
README.md
12
README.md
@ -1,3 +1,15 @@
|
|||||||
|
# Docker commands
|
||||||
|
|
||||||
|
## Local
|
||||||
|
|
||||||
|
`docker build -t pa4kev/portfolio-reactjs-full:latest -f Dockerfile .`
|
||||||
|
`docker push pa4kev/portfolio-reactjs-full:latest`
|
||||||
|
|
||||||
|
## Server
|
||||||
|
|
||||||
|
`docker pull pa4kev/portfolio-reactjs-full`
|
||||||
|
`docker run -d --name react -p 80:80 pa4kev/portfolio-reactjs-full`
|
||||||
|
|
||||||
# Getting Started with Create React App
|
# Getting Started with Create React App
|
||||||
|
|
||||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
||||||
|
|||||||
@ -21,9 +21,13 @@ docker run -d --name react --rm -p 3000:3000 pa4kev/portfolio-reactjs-app
|
|||||||
|
|
||||||
|
|
||||||
- Locally, create Production ready React.js app:
|
- Locally, create Production ready React.js app:
|
||||||
|
nvm use 19.3.0
|
||||||
|
|
||||||
npm run build
|
npm run build
|
||||||
(creates a /build directory)
|
(creates a /build directory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user