Setup
Prerequirements
- We need a virtual machine with at least
3 GBof RAM to run the server smoothly. - We will need code from the
code_backend.zipfile, as it contains the Dockerfile. - The machine must have the port
8000exposed to the internet, for HTTP requests.
Software needed
- Docker must be installed on the computer for it to function properly. Instructions to install docker can be found here.
Building and running the docker image
sudo docker build -t optiparse .
sudo docker run -p 8000:8000 -d optiparse