Skip to content

Commit 7c8e804

Browse files
author
Craig
committed
updated to python:slim
1 parent e21432f commit 7c8e804

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8-slim
1+
FROM python:slim
22

33
RUN pip install pip waitress --upgrade
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Docker container to run a WSGI Python app using
44
[Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/index.html). Images support python 3.6+ and are
5-
based on the official python-slim containers.
5+
based on the official `python:slim` containers.
66

77
[Pull from Docker Hub](https://hub.docker.com/r/tecktron/python-waitress/)
88

scripts/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
set -e
44

55
if [ -f /app/app/wsgi.py ]; then
6-
DEFAULT_MODULE_NAME=wsgi
7-
elif [ -f /app/wsgi.py ]; then
86
DEFAULT_MODULE_NAME=app.wsgi
7+
elif [ -f /app/wsgi.py ]; then
8+
DEFAULT_MODULE_NAME=wsgi
99
fi
1010
MODULE_NAME=${MODULE_NAME:-$DEFAULT_MODULE_NAME}
1111
VARIABLE_NAME=${VARIABLE_NAME:-application}

0 commit comments

Comments
 (0)