updates
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 29s
Build and Push foundryvtt Docker Image / build (push) Successful in 52s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 6s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 5s
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 29s
Build and Push foundryvtt Docker Image / build (push) Successful in 52s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 6s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 5s
This commit is contained in:
@@ -6,6 +6,7 @@ ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/foundryvtt/raw/branch/mast
|
||||
ENV PUID=99
|
||||
ENV GUID=100
|
||||
ENV GAME_PORT=30000
|
||||
ENV FOUNDRYVTT_VERSION=""
|
||||
|
||||
# USER foundry
|
||||
RUN adduser -D -u 99 -G users -h /foundry -s /bin/bash foundry
|
||||
|
||||
@@ -6,17 +6,24 @@
|
||||
FVTT_VERSION=14
|
||||
|
||||
echo " "
|
||||
echo "Current FoundryVTT Release version is ${FVTT_VERSION}."
|
||||
echo "INFO ! Current FoundryVTT Release version is ${FVTT_VERSION}."
|
||||
|
||||
# Set permissions.
|
||||
mkdir -p /foundry/fvtt /foundry/data
|
||||
if [ ! -e /foundry/version-${FOUNDRYVTT_VERSION} ];
|
||||
then
|
||||
echo "INFO ! Setting permissions for new/updated files"
|
||||
find /foundry \! -perm 776 -exec chmod 776 {} \;
|
||||
# find /foundry \! -user 99 -exec chown 99 {} \;
|
||||
# find /foundry \! -group 100 -exec chgrp 100 {} \;
|
||||
find /foundry \! -perm 776 -exec chmod 776 {} \;
|
||||
chmod +x /foundry/fvtt/resources/app/main.js
|
||||
touch /foundry/version-${FOUNDRYVTT_VERSION}
|
||||
else
|
||||
echo "INFO ! Starting Server"
|
||||
fi
|
||||
|
||||
# Run.
|
||||
echo "INFO ! Starting FoundryVTT Server"
|
||||
echo "INFO ! Starting FoundryVTT Server ${FOUNDRYVTT_VERSION}"
|
||||
echo " "
|
||||
# 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'
|
||||
|
||||
Reference in New Issue
Block a user