Skip to content

Commit a25714d

Browse files
authored
fix: update Dockerfile for Aptible deployment (#48)
* docs: clarifications and link updates
1 parent ea111d9 commit a25714d

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3-slim
1+
FROM python:3.12-slim
22

33
# build-essential is needed for various python dependencies (gcc + others are in build-essential)
44
# libpq-dev is needed for psycopg2 to be installed

README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,43 @@
1-
# ![](https://www.aptible.com/static/aptible-logo-dark-f7de71beb81b1638c34f88d100804d1b.png)
1+
# ![](https://framerusercontent.com/images/zPgE6unsAGcnam377HJMPuSoEho.svg)
22

33
## deploy-demo-app
44

55
This application is intended to facilitate learning the features of the Aptible Deploy platform, without
66
needing to deploy _your_ application.
77

8-
![](https://github.com/aptible/deploy-demo-app/blob/master/screenshots/demo.png)
8+
![](https://github.com/aptible/deploy-demo-app/blob/main/screenshots/demo.png)
99

1010
There are two ways you can use this application (in sections below): Guided Experience (1) and Quickstart (2)
1111

1212
### Guided experience (1)
1313

1414
For new users of the Aptible Deploy platform, you can deploy this application following step-by-step
15-
instructions found [here](https://www.aptible.com/documentation/deploy/tutorials/deploy-demo-app.html).
15+
instructions found [here](https://www.aptible.com/docs/getting-started/deploy-starter-template/python-flask).
1616

1717
This will help you deploy the app, and learn to configure additional features of the Aptible Deploy platform
1818
in a guided manner. This app even features a checklist that follows the step-by-step guide, to confirm
1919
that you have performed each step properly!
2020

21-
![](https://github.com/aptible/deploy-demo-app/blob/master/screenshots/checklist.png)
21+
![](https://github.com/aptible/deploy-demo-app/blob/main/screenshots/checklist.png)
2222

2323

2424
### Quick start (2)
2525

2626
For users who are familiar with Deploy, and simply need a web application to experiment with, these
2727
are the minimal steps needed to run this application.
2828

29-
* Create an application: `aptible apps:create $HANDLE`
29+
* Create an application
30+
* via the [Aptible Dashboard](https://app.aptible.com/apps), or
31+
* via the [Aptible CLI](https://www.aptible.com/docs/reference/aptible-cli/cli-commands/cli-apps-create): `aptible apps:create $HANDLE`
3032
* Deploy the App - CHOOSE ONE:
3133
* [Direct Docker Deploy](https://www.aptible.com/documentation/deploy/reference/apps/image/direct-docker-image-deploy.html) : `aptible deploy --app $HANDLE --docker-image aptible/deploy-demo-app`
32-
* [Dockerfile Deploy](https://deploy-docs.aptible.com/docs/dockerfile-deploy-example):
34+
* [Dockerfile Deploy](https://deploy-docs.aptible.com/docs/dockerfile-deploy-example)
3335

3436
```shell
3537
git clone [email protected]:aptible/deploy-demo-app.git
3638
cd deploy-demo-app
3739
git remote add aptible [email protected]:$ENVIRONMENT/$HANDLE.git
38-
git push aptible master
40+
git push aptible main
3941
```
4042

4143
* Set the configuration for your database, force HTTPS only, and increase the scale:
@@ -53,7 +55,7 @@ aptible config:set \
5355

5456
## Copyright
5557

56-
Copyright (c) 2022 [Aptible](https://www.aptible.com). All rights reserved.
58+
Copyright (c) 2024 [Aptible](https://www.aptible.com). All rights reserved.
5759

5860
[<img src="https://avatars2.githubusercontent.com/u/1580788?v=4&s=60" />](https://github.com/UserNotFound)
5961

0 commit comments

Comments
 (0)