@@ -45,9 +45,9 @@ RUN chmod 0644 /etc/cron.d/backup
# Add papermc user and group, then change ownership of /papermc and /backup to this user
RUN groupadd -g${GUID}${papermc_group}
RUN useradd -g${GUID}-l-M-s /bin/false -u${GUID}${papermc_user}
RUN chown-R${GUID} /papermc/
RUN chown-R${GUID} /backup/
RUN chown-R${GUID} /web/
RUN chown-R${papermc_user}:${papermc_group} /papermc/
RUN chown-R${papermc_user}:${papermc_group} /backup/
RUN chown-R${papermc_user}:${papermc_group} /web/
# Get package lists, install needed packages, then remove the package lists again (to save space)
# "webp" is needed to generate images with better compression for the dynamic map (optional, needs further configuration in dynmap-plugin´s config file)