1
0

Update README and commands documentation

This commit is contained in:
PA4KEV 2022-12-31 11:35:32 +01:00
parent 7e4f615f75
commit 8777f9d378
2 changed files with 16 additions and 0 deletions

View File

@ -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).

View File

@ -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)