diff --git a/Dockerfile b/Dockerfile index 20d1f7f8..b49d298c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,10 @@ RUN ./gradlew --no-daemon clean assemble \ WORKDIR /muwire +# Give the app a home otherwise MuWire won't be able to do anything +# especially read configs +RUN usermod --home /muwire app + # Cleanup RUN rm -rf ${TMP_DIR} /root/.gradle /root/.java # Leave only the JRE