SES-79 #3
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -18,9 +18,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
echo "Building docker image"
|
echo "Building docker image"
|
||||||
script {
|
script {
|
||||||
dir('SessionCompanion'){
|
dir('SessionCompanion/SessionCompanion'){
|
||||||
def customImage = docker.build("session-companion:${env.BUILD_ID}")
|
def customImage = docker.build("session-companion:${env.BUILD_ID}")
|
||||||
customImage.withRun('-p 5050:5050')
|
//customImage.withRun('-p 5050:5050')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,5 +4,4 @@ ADD . /App
|
|||||||
WORKDIR /App
|
WORKDIR /App
|
||||||
|
|
||||||
EXPOSE 5001
|
EXPOSE 5001
|
||||||
|
|
||||||
CMD 'dotnet' 'build'
|
CMD 'dotnet' 'build'
|
Loading…
Reference in New Issue
Block a user