Skip to content

Commit 6470cd1

Browse files
committed
update to tiangolo/uwsgi-nginx:python3.11 + add docker compose
1 parent 77f7d5d commit 6470cd1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Pull a pre-built alpine docker image with nginx and python3 installed
2-
FROM tiangolo/uwsgi-nginx:python3.8-alpine-2020-12-19
2+
# Tickbox: update, otherwise fails on pip install reqs in build
3+
FROM tiangolo/uwsgi-nginx:python3.11
34

45
# Set the port on which the app runs; make both values the same.
56
#

docker-compose.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: "3.9"
2+
services:
3+
web:
4+
build: .
5+
ports:
6+
- "8000:8000"
7+
command: python manage.py runserver 0.0.0.0:8000
8+
volumes:
9+
- .:/code

0 commit comments

Comments
 (0)