Update Dockerfile

This commit is contained in:
fithwum
2020-12-07 09:28:52 -08:00
parent 84570b037c
commit 522c0cfeaf

View File

@@ -1,4 +1,4 @@
FROM fithwum/debian-base:stretch
FROM alpine:latest
MAINTAINER fithwum
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/foundryvtt/master/files/Install_Script.sh
@@ -6,11 +6,11 @@ ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/foundryvtt/master/f
ENV PUID=99
ENV GUID=100
# RUN addgroup -S 100 \
# && adduser -S -u 99 -D foundry -G 100
RUN addgroup -S 100 \
&& adduser -S -u 99 -D foundry -G 100
# Install dependencies and folder creation
RUN apt-get -y update && apt-get -y 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 \
&& chmod 777 -R /foundry \
&& chown 99:100 -R /foundry