Commit fa3a3f6e authored by Ali Allaoui's avatar Ali Allaoui
Browse files

add pasteque-admin image

parent c299390a
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
FROM marsonline/php-apache-pgsql:debian-9
MAINTAINER ali.allaoui@gmail.com
RUN rm /var/www/html/index.html
RUN wget https://framagit.org/pasteque/pasteque-admin/repository/archive.tar.gz?ref=8.0.0
RUN tar xzf archive.tar.gz?ref=8.0.0
RUN cp -r pasteque-admin*/* /var/www/html
RUN rm -rf pasteque-admin
WORKDIR /var/www/html
RUN composer install
COPY .htaccess /var/www/html/web
COPY setup.sh /opt/docker/provision/entrypoint.d/30-pasteque.sh
RUN sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf
RUN sed -i 's|/var/www/|/var/www/html/src/http/public/|g' /etc/apache2/apache2.conf
#!/bin/sh
# Pasteque Admin
##########################
cd /var/www/html
php vendor/bin/doctrine orm:schema-tool:create
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment