commit 9e2f577c1ebe80d3ef093568a1c79064a37ddf0c Author: Jesse James Isler Date: Wed Jun 8 16:04:45 2022 +0200 Initial Commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..44efef1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +# syntax=docker/dockerfile:1 +FROM node:12-alpine +RUN apk add --no-cache python2 g++ make +WORKDIR /app +COPY . . +RUN yarn install --production +CMD ["node", "src/index.js"] diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d543197 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +pipeline { + agent { dockerfile true } + stages { + stage('Test') { + steps { + sh 'node --version' + sh 'svn --version' + } + } + } +}