finding our way

This commit is contained in:
2022-03-15 13:40:50 +01:00
parent b4d33528a2
commit 17f490accb
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ RUN unzip -d /app rompr.zip && rm rompr.zip
RUN ln -sf /rompr/prefs /app/rompr/prefs; ln -sf /rompr/albumart /app/rompr/albumart;
RUN chown -R www-data:www-data /app/rompr /rompr
RUN pwd; ls -la .;ls -la /workspace/source;
ADD /files/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
@@ -34,7 +34,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 /files/run-httpd /usr/local/bin/
ADD files/run-httpd /usr/local/bin/
RUN chmod 755 /usr/local/bin/run-httpd
EXPOSE 80
VOLUME ["/rompr"]