You need to install docker. !!! ATTENTION DOCKER RUN ON HYPER-V ==> VIRTUALBOX WILL STOP WORKING !!!
- First it is recommended to pull the image
docker pull se2polito/team-j:latest
- Run in terminal
docker run --hostname docker-desktop --rm -p 80:80 se2polito/team-j
- Cross your fingers
- Go to localhost
For building the image you need the Dockerfile
- Place all the content of this directory at the same level of the github repository directory.
- Open terminal and go to directory containing repo, Dockerfile and other files.
- Run
docker build -t se2polito/team-j:rXXX .
whereXXX
is the TAG (release number) - Take a coffee
- main.cf is the postfix configuration file
- You can find more docker utility commands HERE
- You can take a tea or whatever you want if you don't like coffee...