- Pull the most recent version from git
cd
into thewebsite
root directory- Build the docker image with
docker build -t schemes-image .
- Stop the currently running container
docker stop schemes-container
- Remove the old container
docker rm schemes-container
- Create and run the new image
docker run -d --name schemes-container -p 10020:80 schemes-image