jenkinsfile set docker build network to host
Some checks failed
gitea/video-server-backend/pipeline/head There was a failure building this commit
Some checks failed
gitea/video-server-backend/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fd929eff9a
commit
9048f191cb
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -15,7 +15,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
|
|
||||||
docker build -t darkbird/video-server-backend:latest .
|
docker build --network="host" -t darkbird/video-server-backend:latest .
|
||||||
docker run \
|
docker run \
|
||||||
-v /srv/dev-disk-by-uuid-b4b795cd-2495-4123-bb73-1e412ab0c183/vault/videos:/usr/src/app/videos \
|
-v /srv/dev-disk-by-uuid-b4b795cd-2495-4123-bb73-1e412ab0c183/vault/videos:/usr/src/app/videos \
|
||||||
-p 8190:8080
|
-p 8190:8080
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user