From adc2e1ba98805b193b1aa6790cf29cd9ef4dc049 Mon Sep 17 00:00:00 2001 From: Nathan Byrd Date: Sat, 26 Aug 2023 10:37:12 -0500 Subject: [PATCH] Fixed Dockerfile to run on Windows --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index b53c72df..82815691 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -21,6 +21,7 @@ RUN apt-get update \ lhasa \ unrar-free \ p7zip-full \ + dos2unix \ && npm install -g pm2 \ && cd /enigma-bbs && npm install --only=production \ && pm2 start main.js \ @@ -37,6 +38,7 @@ RUN apt-get update \ # sexyz COPY docker/bin/sexyz /usr/local/bin +RUN dos2unix /enigma-bbs/docker/bin/docker-entrypoint.sh && apt-get remove dos2unix -y RUN chmod +x /enigma-bbs/docker/bin/docker-entrypoint.sh # enigma storage mounts