git-clone taks and updates
This commit is contained in:
@@ -21,7 +21,7 @@ RUN mkdir -p /rompr
|
||||
RUN ln -sf /rompr/prefs /app/rompr/prefs
|
||||
RUN ln -sf /rompr/albumart /app/rompr/albumart
|
||||
RUN chown -R www-data:www-data /app/rompr /rompr
|
||||
ADD nginx_default /etc/nginx/sites-available/default
|
||||
ADD /files/nginx_default /etc/nginx/sites-available/default
|
||||
RUN mkdir -p /run/php/
|
||||
#Environment variables to configure php
|
||||
RUN sed -ri -e 's/^allow_url_fopen =.*/allow_url_fopen = On/g' /etc/php/7.4/fpm/php.ini
|
||||
@@ -35,7 +35,7 @@ RUN sed -ri -e 's/^display_startup_errors =.*/display_startup_errors = On/g' /e
|
||||
|
||||
RUN echo "<?php phpinfo(); ?>" > /app/rompr/phpinfo.php
|
||||
RUN update-rc.d php7.4-fpm defaults
|
||||
ADD run-httpd /usr/local/bin/
|
||||
ADD /files/run-httpd /usr/local/bin/
|
||||
RUN chmod 755 /usr/local/bin/run-httpd
|
||||
EXPOSE 80
|
||||
VOLUME ["/rompr"]
|
||||
|
||||
Reference in New Issue
Block a user