Update Dockerfile

This commit is contained in:
fithwum
2020-06-22 06:07:42 -07:00
parent fad6150837
commit e9342d0537

View File

@@ -1,17 +1,24 @@
FROM alpine:latest FROM alpine:latest
MAINTAINER fithwum MAINTAINER fithwum
ARG INSTALL_FILES=https://nextcloud.fithwum.tech/index.php/s/35GF6g2ro97Etne/download
ENV PUID=99 ENV PUID=99
ENV GUID=100 ENV GUID=100
ENV F_VTT_VERSION=0.6.2
RUN addgroup -S 100 foundry && adduser -S -u 99 -D foundry -G 100 RUN addgroup -S 100 foundry && adduser -S -u 99 -D foundry -G 100
# Install dependencies and folder creation # 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 /ftemp /foundry/fvtt /foundry/data \ && mkdir -p /foundry /ftemp /ftemp/fvtt /foundry/fvtt /foundry/data \
&& chmod 777 -R /foundry \ && chmod 777 -R /foundry \
&& chown 99:100 -R /foundry && chown 99:100 -R /foundry
ADD "${INSTALL_FILES}" /ftemp
RUN
USER foundry USER foundry
# directory where data is stored # directory where data is stored