Actually wait let's reorder those args
This commit is contained in:
parent
58e34860fd
commit
bed8684352
@ -38,12 +38,11 @@ ARG GROUP
|
|||||||
|
|
||||||
# Build the thing up
|
# Build the thing up
|
||||||
RUN apk add bash curl findutils rsync screen "${JRE_VERSION}"
|
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}" && \
|
|
||||||
mkdir /minecraft && \
|
|
||||||
chown "${USER}:${GROUP}" /minecraft
|
|
||||||
WORKDIR /minecraft
|
WORKDIR /minecraft
|
||||||
COPY --from=build /minecraft .
|
COPY --from=build /minecraft .
|
||||||
|
RUN addgroup -g "${GID}" "${GROUP}" && \
|
||||||
|
adduser -h /minecraft -s /bin/sh -D -H -u "${UID}" -G "${GROUP}" "${USER}" && \
|
||||||
|
chown "${USER}:${GROUP}" /minecraft
|
||||||
USER $USER
|
USER $USER
|
||||||
CMD [ "bash", "start-server.sh" ]
|
CMD [ "bash", "start-server.sh" ]
|
||||||
EXPOSE 25565
|
EXPOSE 25565
|
||||||
|
Loading…
Reference in New Issue
Block a user