SES-79 #3

Merged
s426134 merged 10 commits from SES-79 into master 2020-12-02 20:39:22 +01:00
2 changed files with 19 additions and 0 deletions
Showing only changes of commit f3c55bf7e3 - Show all commits

View File

@ -0,0 +1,8 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0
ADD . /App
WORKDIR /App
EXPOSE 5001
CMD 'dotnet' 'build'

11
SessionCompanion/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,11 @@
pipeline {
def app
stage('Build image') {
checkout scm
app = docker.build("session-companion:${env.BUILD_ID}")
}
stage('Build app') {
docker.image("session-companion:${env.BUILD_ID}").withRun(-p 8080:8080)
}
}