Expose port on Travis

This commit is contained in:
CrazyMax 2018-02-01 20:49:32 +01:00
parent 70e916b6e1
commit 650ec738d3

View File

@ -36,7 +36,7 @@ install:
-t $DOCKER_USERNAME/$DOCKER_REPONAME . -t $DOCKER_USERNAME/$DOCKER_REPONAME .
before_script: before_script:
- docker run -d -e JLS_VIRTUAL_HOSTS=$WAN_IP --name $DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME - docker run -d -p 8000:80 -e JLS_VIRTUAL_HOSTS=$WAN_IP --name $DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME
- sleep 20 - sleep 20
- docker logs $DOCKER_REPONAME - docker logs $DOCKER_REPONAME