Updated node & added .dockerignore
This commit is contained in:
parent
adc2e1ba98
commit
1d00482b02
|
@ -0,0 +1,3 @@
|
|||
node_modules
|
||||
package-lock.json
|
||||
yarn.lock
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue