npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Builds the app for production to the build
folder.\
npm run build
docker-compose up -d
Create a remote context. Example setup with OCI
docker context create <remote> --docker "host=ssh://<user>@<ip_address_or_hostname>"
If you have defined host (for example with User, Hostname and IdentityFile) in ~./ssh/config
, you can use the host name directly
docker context create <remote> --docker "host=<remote_host>"
Copy required files & folders to remote
scp -r build/ <remote_host>:~/build/
scp -r etc/ <remote_host>:/etc
docker-compose --context <remote> up -d --build