Update Dockerfile

This commit is contained in:
fithwum
2020-06-21 18:17:33 -07:00
parent 0731de567a
commit 7de5e05c7e

View File

@@ -4,12 +4,17 @@ MAINTAINER fithwum
ENV UID=99 ENV UID=99
ENV GUID=100 ENV GUID=100
# Install dependencies and folder creation
RUN apk update && apk add --no-cache ca-certificates libstdc++ su-exec bash-completion tar nodejs npm \ RUN apk update && apk add --no-cache ca-certificates libstdc++ su-exec bash-completion tar nodejs npm \
&& mkdir -p /foundry \ && mkdir -p /foundry \
&& mkdir -p /foundry/fvtt \ && mkdir -p /foundry/fvtt \
&& mkdir -p /foundry/data && mkdir -p /foundry/data
# directory where data is stored
WORKDIR /foundry WORKDIR /foundry
# TCP Port
EXPOSE 30000 EXPOSE 30000
CMD [ "node", "fvtt/resources/app/main.js", "--headless", "--dataPath=/foundry/data" ]
# Run command
CMD [ "node", "fvtt/resources/app/main.js", "--headless", "--dataPath=/foundry/data" ]