You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 17, 2023. It is now read-only.
**You must explicitly use one of the tags above.** The `latest` tag is not assigned since each tag represents a different variant, not an incremental version.
9
7
@@ -21,7 +19,7 @@ This **Docker** image enables Python **Flask** Apps to run on **Nginx** using **
21
19
22
20
This image builds on the [nginx-uwsgi](https://hub.docker.com/r/robpco/nginx-uwsgi/) base image and adds Flask support and additional Environment Variables to enable customization.
23
21
24
-
This repo auto-generates images to [Docker-Hub](https://hub.docker.com/r/robpco/nginx-uwsgi-flask/). It includes standard and alpine-based variants for each supported Python version (2.7, 3.6).
22
+
This repo auto-generates images to [Docker-Hub](https://hub.docker.com/r/robpco/nginx-uwsgi-flask/). It includes variants for each supported Python version (2.7, 3.6).
25
23
26
24
## Usage
27
25
@@ -35,11 +33,11 @@ To use this image as a base for a **Flask Web-App**:
35
33
36
34
### STEP 1 - Create a `Dockerfile`
37
35
38
-
- In this example, we use the `FROM` line to specify this image and the `python3.6-alpine` variant
36
+
- In this example, we use the `FROM` line to specify this image and the `python3.6` variant
39
37
- We copy our python scripts, in a sub-directory on the local computer called `app`, to a folder in the container called `/app`.
40
38
41
39
```Dockerfile
42
-
FROM robpco/nginx-uwsgi-flask:python3.6-alpine
40
+
FROM robpco/nginx-uwsgi-flask:python3.6
43
41
44
42
COPY ./app /app
45
43
```
@@ -114,27 +112,19 @@ services:
114
112
LISTEN_PORT: 8080
115
113
```
116
114
117
-
Inspired by the project at [tiangolo/UWSGI-NGINX-DOCKER](https://github.com/tiangolo/uwsgi-nginx-docker).
118
-
119
115
## UPDATES
120
116
121
117
- 2017-12-11: Added multiple tags per variant: `py3.6` is the same as `python3.6`, and so forth...
122
118
- 2017-11-29: Added ability to change port Nginx listens on with new environment variable `LISTEN_PORT`.
123
119
- Thanks to github user [tmshn](https://github.com/tmshn)
124
-
- 2017-11-29: Alpine variants added
125
-
- Thanks to github user [ProgEsteves](https://github.com/ProgEsteves)
126
120
- 2017-11-29: Automatic image re-build when Python updates
127
-
- 2017-11-28: Updated Nginx version installed on non-Alpine images
121
+
- 2017-11-28: Updated Nginx version installed
128
122
- 2018-05-04: Updated for new base images
129
123
130
124
## CHANGELOG
131
125
132
126
- 2017-12-15: Fix to avoid duplicate listen entries in nginx.conf
133
-
- 2017-11-30: Alpine images - eliminated uWSGI random build failures
0 commit comments