Skip to content
Snippets Groups Projects
Commit d5ca97aa authored by TheBroTMv2's avatar TheBroTMv2
Browse files

Update Dockerfile

parent bc7bd3b7
No related branches found
No related tags found
1 merge request!7Beta
Pipeline #2648 passed
......@@ -42,7 +42,7 @@ RUN mkdir /papermc /backup
#sets permission for the cronjobs
RUN chmod 0644 /etc/cron.d/backup
#starts the service for cron
RUN service cron start
# Add papermc user and group, then change ownership of /papermc and /backup to this user
RUN groupadd -g ${GUID} ${papermc_group}
......@@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
screen \
webp \
&& rm -rf /var/lib/apt/lists/*
RUN service cron start
# Execute all following commands as the papermc user
USER $papermc_user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment