File tree Expand file tree Collapse file tree 3 files changed +32
-5
lines changed Expand file tree Collapse file tree 3 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 1
1
pipeline {
2
- agent {label ' python-alpine ' }
2
+ agent {label ' jenkins-docker ' }
3
3
options{
4
4
buildDiscarder(logRotator(numToKeepStr : ' 5' , daysToKeepStr : ' 5' ))
5
5
timestamps()
@@ -11,10 +11,12 @@ pipeline {
11
11
}
12
12
13
13
stages{
14
+
14
15
stage(' Build' ) {
15
16
steps{
17
+ sh " pwd"
16
18
script {
17
- dockerImage = docker. build registry + " :$BUILD_NUMBER "
19
+ dockerImage = docker. build( registry + " :$BUILD_NUMBER " , " ./app " )
18
20
}
19
21
}
20
22
}
@@ -28,4 +30,4 @@ pipeline {
28
30
}
29
31
}
30
32
}
31
- }
33
+ }
Original file line number Diff line number Diff line change 1
- FROM gcr.io/google_appengine/ python
1
+ FROM python:3
2
2
3
3
RUN mkdir -p /home/project/app
4
4
WORKDIR /home/project/app
5
5
COPY requirements.txt /home/project/app
6
6
RUN pip install --no-cache-dir -r requirements.txt
7
7
8
- COPY . /home/project/app
8
+ COPY . /home/project/app
Original file line number Diff line number Diff line change
1
+ aniso8601 == 9.0.1
2
+ click == 7.1.2
3
+ colorama == 0.4.4
4
+ Flask == 1.1.4
5
+ Flask-Cors
6
+ Flask-Markdown
7
+ flask-marshmallow
8
+ Flask-restful
9
+ flask-restful-swagger
10
+ Flask-sqlalchemy
11
+ greenlet
12
+ importlib-metadata
13
+ itsdangerous
14
+ Jinja2
15
+ Markdown
16
+ MarkupSafe
17
+ marshmallow
18
+ marshmallow-sqlalchemy
19
+ PyMySQL
20
+ pytz
21
+ six
22
+ SQLAlchemy
23
+ SQLAlchemy-Utils
24
+ Werkzeug
25
+ zipp
You can’t perform that action at this time.
0 commit comments