mirror of https://github.com/zlatinb/muwire
parent
28ad0ae30f
commit
60b9e990cf
|
@ -25,6 +25,10 @@ RUN ./gradlew --no-daemon clean assemble \
|
||||||
|
|
||||||
WORKDIR /muwire
|
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
|
# Cleanup
|
||||||
RUN rm -rf ${TMP_DIR} /root/.gradle /root/.java
|
RUN rm -rf ${TMP_DIR} /root/.gradle /root/.java
|
||||||
# Leave only the JRE
|
# Leave only the JRE
|
||||||
|
|
Loading…
Reference in New Issue