16 lines
237 B
YAML
16 lines
237 B
YAML
|
sudo: required
|
||
|
|
||
|
language: bash
|
||
|
services: docker
|
||
|
|
||
|
env:
|
||
|
- DOCKER_IMAGE=nginx-rtmp
|
||
|
|
||
|
script:
|
||
|
- docker build -t ${DOCKER_IMAGE}
|
||
|
|
||
|
after_script:
|
||
|
- docker images
|
||
|
- docker run -d -p 1935:1935 -p 8080:80 -t ${DOCKER_IMAGE}
|
||
|
- docker ps -a
|