Expose port on Travis
This commit is contained in:
parent
70e916b6e1
commit
650ec738d3
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user