We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f7d5d commit 6470cd1Copy full SHA for 6470cd1
Dockerfile
@@ -1,5 +1,6 @@
1
# Pull a pre-built alpine docker image with nginx and python3 installed
2
-FROM tiangolo/uwsgi-nginx:python3.8-alpine-2020-12-19
+# Tickbox: update, otherwise fails on pip install reqs in build
3
+FROM tiangolo/uwsgi-nginx:python3.11
4
5
# Set the port on which the app runs; make both values the same.
6
#
docker-compose.yml
@@ -0,0 +1,9 @@
+version: "3.9"
+services:
+ web:
+ build: .
+ ports:
+ - "8000:8000"
7
+ command: python manage.py runserver 0.0.0.0:8000
8
+ volumes:
9
+ - .:/code
0 commit comments