Updated node & added .dockerignore

This commit is contained in:
Nathan Byrd 2023-08-26 10:54:39 -05:00
parent adc2e1ba98
commit 1d00482b02
2 changed files with 6 additions and 2 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
package-lock.json
yarn.lock

View File

@ -1,4 +1,4 @@
FROM node:14-buster-slim
FROM node:18-buster-slim
LABEL maintainer="dave@force9.org"
@ -22,8 +22,9 @@ RUN apt-get update \
unrar-free \
p7zip-full \
dos2unix \
&& npm install -g npm@latest \
&& npm install -g pm2 \
&& cd /enigma-bbs && npm install --only=production \
&& cd /enigma-bbs && npm install \
&& pm2 start main.js \
&& mkdir -p /enigma-bbs-pre/art \
&& mkdir /enigma-bbs-pre/mods \