Initial Commit
Some checks failed
gitea_dndsources/schedulord-discordbot/pipeline/head There was a failure building this commit
Some checks failed
gitea_dndsources/schedulord-discordbot/pipeline/head There was a failure building this commit
This commit is contained in:
commit
9e2f577c1e
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -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"]
|
11
Jenkinsfile
vendored
Normal file
11
Jenkinsfile
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
pipeline {
|
||||||
|
agent { dockerfile true }
|
||||||
|
stages {
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
sh 'node --version'
|
||||||
|
sh 'svn --version'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user