Files
foundryvtt-docker/Dockerfile
T
crovaxon 07fa9593d6
Build foundry vtt docker image and push to registry / docker (push) Failing after 17s
added USER root to Dockerfile
2024-06-17 12:05:36 +02:00

29 lines
620 B
Docker

FROM node:20-alpine
LABEL maintainer="crovaxon"
WORKDIR /app
USER root
# user and group id are typical defaults for UNRAID
ENV PUID=99
ENV PGID=100
ENV UMASK=022
ENV PATH="/app:${PATH}"
# 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 ./
# mount volume directory of the Foundry application
VOLUME /foundry
# mount volume directory of the Foundry user data
VOLUME /foundrydata
# expose default TCP port
EXPOSE 30000
#run entrypoint
ENTRYPOINT ["/app/entrypoint.sh"]