finding our way
This commit is contained in:
@@ -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 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 chown -R www-data:www-data /app/rompr /rompr
|
||||||
RUN pwd; ls -la .;ls -la /workspace/source;
|
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/
|
RUN mkdir -p /run/php/
|
||||||
#Environment variables to configure 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
|
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 echo "<?php phpinfo(); ?>" > /app/rompr/phpinfo.php
|
||||||
RUN update-rc.d php7.4-fpm defaults
|
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
|
RUN chmod 755 /usr/local/bin/run-httpd
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
VOLUME ["/rompr"]
|
VOLUME ["/rompr"]
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ spec:
|
|||||||
- name: git-revision
|
- name: git-revision
|
||||||
value: master
|
value: master
|
||||||
- name: path-to-image-context
|
- name: path-to-image-context
|
||||||
value: ./
|
value: ./apps/rompr
|
||||||
- name: path-to-dockerfile
|
- name: path-to-dockerfile
|
||||||
value: /apps/rompr/Dockerfile
|
value: Dockerfile
|
||||||
- name: image-name
|
- name: image-name
|
||||||
value: cr.lan/rompr
|
value: cr.lan/rompr
|
||||||
workspaces:
|
workspaces:
|
||||||
|
|||||||
Reference in New Issue
Block a user