From e9342d0537b2bfa8635fb413f5119ea297d14d91 Mon Sep 17 00:00:00 2001 From: fithwum <34775371+fithwum@users.noreply.github.com> Date: Mon, 22 Jun 2020 06:07:42 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b48132d..d3207a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,24 @@ FROM alpine:latest MAINTAINER fithwum +ARG INSTALL_FILES=https://nextcloud.fithwum.tech/index.php/s/35GF6g2ro97Etne/download + ENV PUID=99 ENV GUID=100 +ENV F_VTT_VERSION=0.6.2 RUN addgroup -S 100 foundry && adduser -S -u 99 -D foundry -G 100 # Install dependencies and folder creation RUN apk update && apk add --no-cache ca-certificates libstdc++ su-exec bash-completion tar nodejs npm \ - && mkdir -p /foundry /ftemp /foundry/fvtt /foundry/data \ + && mkdir -p /foundry /ftemp /ftemp/fvtt /foundry/fvtt /foundry/data \ && chmod 777 -R /foundry \ && chown 99:100 -R /foundry +ADD "${INSTALL_FILES}" /ftemp + +RUN + USER foundry # directory where data is stored