Update Dockerfile

This commit is contained in:
fithwum
2020-06-21 17:34:08 -07:00
parent c878bdcd06
commit 6fe267aedb

View File

@@ -4,12 +4,16 @@ MAINTAINER fithwum
ENV UID=99 ENV UID=99
ENV GUID=100 ENV GUID=100
USER node RUN deluser node
RUN addgroup -g $GUID foundry \
&& adduser -u $UID -G foundry -s /bin/sh -D foundry
RUN mkdir -p /home/foundry/fvtt USER foundry
RUN mkdir -p /home/foundry/data
WORKDIR /home/foundry/fvtt RUN mkdir -p /foundry/fvtt
RUN mkdir -p /foundry/data
WORKDIR /foundry/fvtt
EXPOSE 30000 EXPOSE 30000
CMD [ "node", "resources/app/main.js", "--headless", "--dataPath=/home/foundry/data" ] CMD [ "node", "resources/app/main.js", "--headless", "--dataPath=/foundry/data" ]