Skip to content

Commit 9b10645

Browse files
author
mikespub
committed
update requirements & bundle app
1 parent 1891ede commit 9b10645

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ $ docker app render python-app.dockerapp
4747
$ docker swarm init (if necessary)
4848
$ docker app install python-app.dockerapp --name my-app
4949
$ docker app status my-app
50-
$ docker app bundle my-app
51-
$ docker app push my-app -t mikespub/python-app:0.1.0
50+
$ docker app bundle python-app.dockerapp
51+
$ docker app push --tag mikespub/python-app:0.1.0
5252
```
5353

5454
### Deploying with Docker App

bundle.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "python-app",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Quickstart Python with Docker App",
55
"maintainers": [
66
{
@@ -10,7 +10,7 @@
1010
"invocationImages": [
1111
{
1212
"imageType": "docker",
13-
"image": "python-app:0.1.0-invoc"
13+
"image": "python-app:0.2.0-invoc"
1414
}
1515
],
1616
"images": {

python-app.dockerapp/metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Version of the application
2-
version: 0.1.0
2+
version: 0.2.0
33
# Name of the application
44
name: python-app
55
# A short description of the application

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Flask
2-
redis
3-
gunicorn
1+
Flask==1.1.2
2+
redis==3.5.2
3+
gunicorn==20.0.4

0 commit comments

Comments
 (0)