Fixed Dockerfile to run on Windows

This commit is contained in:
Nathan Byrd 2023-08-26 10:37:12 -05:00
parent b11ddfc382
commit adc2e1ba98
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ RUN apt-get update \
lhasa \ lhasa \
unrar-free \ unrar-free \
p7zip-full \ p7zip-full \
dos2unix \
&& npm install -g pm2 \ && npm install -g pm2 \
&& cd /enigma-bbs && npm install --only=production \ && cd /enigma-bbs && npm install --only=production \
&& pm2 start main.js \ && pm2 start main.js \
@ -37,6 +38,7 @@ RUN apt-get update \
# sexyz # sexyz
COPY docker/bin/sexyz /usr/local/bin 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 RUN chmod +x /enigma-bbs/docker/bin/docker-entrypoint.sh
# enigma storage mounts # enigma storage mounts