Set the UMASK in the entry script, added some brief step documentation, also Gitea action workflow attempt.
Build foundry vtt docker image and push to registry / docker (push) Failing after 9s
Build foundry vtt docker image and push to registry / docker (push) Failing after 9s
This commit is contained in:
+8
-7
@@ -3,25 +3,26 @@ LABEL maintainer="crovaxon"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# user and group id are typical defaults for UNRAID
|
||||
ENV PUID=99
|
||||
ENV PGID=100
|
||||
ENV UMASK=022
|
||||
ENV PATH="/app:${PATH}"
|
||||
|
||||
#RUN addgroup -g ${GUID} foundry
|
||||
#RUN adduser -H -u ${PUID} -s /bin/bash foundry foundry
|
||||
#USER foundry
|
||||
|
||||
# update and install requirements
|
||||
RUN apk update & apk add --no-cache ca-certificates libstdc++ su-exec bash-completion tar nodejs npm
|
||||
|
||||
# copy entrypoint script to work directory
|
||||
COPY entrypoint.sh ./
|
||||
|
||||
# directory of the Foundry application
|
||||
# mount volume directory of the Foundry application
|
||||
VOLUME /foundry
|
||||
#directory of the Foundry user data
|
||||
|
||||
# mount volume directory of the Foundry user data
|
||||
VOLUME /foundrydata
|
||||
|
||||
# default TCP port
|
||||
# expose default TCP port
|
||||
EXPOSE 30000
|
||||
|
||||
#run entrypoint
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user