From 51d926c6aafaecf9fe88b8f241d261f30ff55e84 Mon Sep 17 00:00:00 2001
From: Griefed <44273438+Griefed@users.noreply.github.com>
Date: Wed, 14 Oct 2020 21:16:16 +0200
Subject: [PATCH] Non-reverse proxy deployment

---
 Dockerfile.noproxy | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Dockerfile.noproxy

diff --git a/Dockerfile.noproxy b/Dockerfile.noproxy
new file mode 100644
index 0000000..2b09a2f
--- /dev/null
+++ b/Dockerfile.noproxy
@@ -0,0 +1,38 @@
+FROM lsiobase/alpine:3.12
+
+LABEL maintainer="Griefed <griefed@griefed.de>"
+
+# Test whether these are needed. If not, remove
+ENV HOME="/app"
+ENV NODE_ENV="production"
+
+# Build our D-Zone S6 image with lsiobase alpine. Much love to, Linuxserver.io!
+RUN \
+        echo "**** install dependencies and build tools and stuff ****" && \
+        apk add --no-cache \
+                git \
+                nano \
+                npm \
+                nodejs && \
+        mkdir -p \
+                /app/d-zone && \
+        git clone -b \
+                v1/docker \
+                https://github.com/d-zone-org/d-zone.git \
+                /app/d-zone && \
+        echo "**** run npm install and build D-Zone ****" && \
+        cd /app/d-zone && \
+        npm install --no-optional && \
+        npm run-script build && \
+        echo "**** delete git as we no longer need it ****" && \
+        apk del --purge \
+                git && \
+        rm -rf \
+                /root/.cache \
+                /tmp/*
+
+# Copy local files
+COPY root/ /
+
+# Communicate port to be used
+EXPOSE 3000
-- 
GitLab