Improve Hugo Configuration #9
@@ -17,8 +17,8 @@ RUN mkdir -pv /var/www/hugo/
|
||||
RUN mkdir -pv /var/www/html/
|
||||
|
||||
# Copy Cron Job to Update Git Repo
|
||||
COPY files/hugo.crontab /etc/crontab
|
||||
COPY files/hugo.cronjob.sh /var/www/hugo/cronjob.sh
|
||||
COPY files/crontab /etc/crontab
|
||||
COPY files/cronjob.sh /var/www/hugo/cronjob.sh
|
||||
|
||||
# Hugo User Permissions
|
||||
RUN chown -Rv www-data:www-data /var/www/
|
||||
|
Reference in New Issue
Block a user