aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/nging/Dockerfile18
1 files changed, 0 insertions, 18 deletions
diff --git a/docker/nging/Dockerfile b/docker/nging/Dockerfile
deleted file mode 100644
index 378099b8..00000000
--- a/docker/nging/Dockerfile
+++ /dev/null
@@ -1,18 +0,0 @@
-FROM pythondiscord/django AS builder
-
-ENV DATABASE_URL postgres://user:pass@host/db
-ENV SECRET_KEY unused
-
-RUN mkdir -p /var/www/pythondiscord.com
-
-RUN python3 manage.py collectstatic --noinput
-
-
-## NGINX setup
-# Copy over only the static files from the previous stage
-# to ensure a minimal image size in our NGINX container.
-FROM nginx:alpine
-
-COPY --from=builder /var/www/pythondiscord.com /var/www/pythondiscord.com
-
-CMD ["nginx", "-g", "daemon off;"]