SES-79 Small fix to Jenkinsfile

This commit is contained in:
Karol Górzyński 2020-12-02 20:01:33 +01:00
parent 23cc8a8df2
commit f1d906c1b1
2 changed files with 2 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -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')
} }
} }
} }

View File

@ -4,5 +4,4 @@ ADD . /App
WORKDIR /App WORKDIR /App
EXPOSE 5001 EXPOSE 5001
CMD 'dotnet' 'build' CMD 'dotnet' 'build'