mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
added preliminary foundry v13 dockerfile
This commit is contained in:
parent
95f6295d8b
commit
08deaca99a
31
build/foundry/Dockerfile.13
Normal file
31
build/foundry/Dockerfile.13
Normal file
@ -0,0 +1,31 @@
|
||||
FROM docker.io/node:20-alpine3.21
|
||||
|
||||
LABEL name=foundry
|
||||
LABEL version=1.0
|
||||
|
||||
ENV UID=1000
|
||||
ENV GUID=1000
|
||||
|
||||
RUN apk --update --no-cache add jq
|
||||
RUN deluser node
|
||||
RUN addgroup -g $GUID foundry \
|
||||
&& adduser -u $UID -G foundry -s /bin/sh -D foundry
|
||||
|
||||
USER foundry
|
||||
|
||||
RUN mkdir -p /home/foundry/data
|
||||
|
||||
## try
|
||||
RUN mkdir -p /home/foundry/.local/share/FoundryVTT
|
||||
COPY src /home/foundry/src
|
||||
|
||||
RUN mkdir -p /home/foundry/tmp
|
||||
|
||||
COPY ./foundry /home/foundry/instance
|
||||
|
||||
WORKDIR /home/foundry/instance
|
||||
|
||||
EXPOSE 30000/TCP
|
||||
|
||||
ENTRYPOINT ["/home/foundry/src/entrypoint.sh"]
|
||||
CMD ["resources/app/main.js", "--headless", "--noupdate", "--dataPath=/home/foundry/data"]
|
Loading…
x
Reference in New Issue
Block a user