826 B
826 B
Build OSRM frontend
OSRM frontend image has been built from github's code.
Build image
Go to the folder where docker file located
pwd
# local-path/osrm-backend/docker-orchestration/osrm-frontend-docker/
Run following command
docker build -t osrm-frontend-test -f Dockerfile .
Start container
docker run -d --link osrm-api:api --name osrm-ca-front --restart=always -p 8080:80 osrm-front-test
Notes:
- docker run --link combines two docker container together. Latter we could try with docker bridge network
Visit OSRM front end with
http://ipaddress:8080