This commit is contained in:
2023-01-28 06:20:55 -08:00
parent fbb0887e96
commit 4b157cb1a1
2 changed files with 2 additions and 2 deletions

2
debian/Dockerfile vendored
View File

@@ -10,7 +10,7 @@ ENV GAME_PORT=30000
RUN addgroup foundry && adduser -q --disabled-password --ingroup foundry foundry RUN addgroup foundry && adduser -q --disabled-password --ingroup foundry foundry
# Install dependencies and folder creation # Install dependencies and folder creation
RUN apt update && apt install ca-certificates libstdc++ su-exec bash-completion tar nodejs npm \ RUN apt update && apt install ca-certificates libstdc++6 bash-completion tar nodejs npm \
&& mkdir -p /foundry /ftemp \ && mkdir -p /foundry /ftemp \
&& chmod 777 -R /foundry \ && chmod 777 -R /foundry \
&& chown 99:100 -R /foundry && chown 99:100 -R /foundry

View File

@@ -20,6 +20,6 @@ chmod +x /foundry/
echo "INFO ! Starting FoundryVTT Server" echo "INFO ! Starting FoundryVTT Server"
echo " " echo " "
# exec node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data # exec node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data
su foundry -c 'node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data --ignore-gpu-blacklist' foundry -c 'node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data --ignore-gpu-blacklist'
exit exit