From 297ab1b83794df540731e5e0d4723686863e3ac6 Mon Sep 17 00:00:00 2001
From: Griefed <44273438+Griefed@users.noreply.github.com>
Date: Mon, 28 Sep 2020 15:51:43 +0200
Subject: [PATCH] Updated Dockerfile

Changed the branch from v1/docker to heroku. The heroku branch works with nginx as a reverse proxy, serving d-zone with https.
---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 7ed4816..64543ef 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,10 +7,10 @@ You must set your bot token as an environment variable and your bot must be \
 a member of at least one server for this to work."
 
 
-RUN     apk update && apk upgrade && apk add git                                        && \
-        git clone -b v1/docker https://github.com/d-zone-org/d-zone.git /opt/d-zone     && \
+RUN     apk update && apk upgrade && apk add git && apk add nano                        && \
+        git clone -b heroku https://github.com/d-zone-org/d-zone.git /opt/d-zone        && \
         cd /opt/d-zone                                                                  && \
-        npm install                                                                     && \
+        npm install --no-optional                                                       && \
         npm run-script build                                                            && \
         apk del git
 
-- 
GitLab