From 58e34860fd39934f6bcfe26bf7c111a8ae43a2ba Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 14 Jun 2022 14:32:15 -0500 Subject: [PATCH] Actually make /minecraft writeable --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c9b9893..17c15b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,9 @@ ARG GROUP # Build the thing up RUN apk add bash curl findutils rsync screen "${JRE_VERSION}" RUN addgroup -g "${GID}" "${GROUP}" && \ - adduser -h /minecraft -s /bin/sh -D -H -u "${UID}" -G "${GROUP}" "${USER}" + adduser -h /minecraft -s /bin/sh -D -H -u "${UID}" -G "${GROUP}" "${USER}" && \ + mkdir /minecraft && \ + chown "${USER}:${GROUP}" /minecraft WORKDIR /minecraft COPY --from=build /minecraft . USER $USER