Update Dockerfile
This commit is contained in:
@@ -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" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user