akaunting/Dockerfile

18 lines
477 B
Docker
Raw Normal View History

2017-12-04 15:56:48 +11:00
FROM php:apache
2017-12-04 15:56:48 +11:00
COPY . /var/www/html/
# Authorize these folders to be edited
RUN chmod -R 777 /var/www/html/storage
RUN chmod -R 777 /var/www/html/bootstrap/cache
RUN apt-get update && apt-get install -y zip libzip-dev libpng-dev \
&& docker-php-ext-install pdo_mysql gd zip \
&& rm -rf /var/lib/apt/lists/*
2017-12-04 15:56:48 +11:00
# Allow rewrite
RUN a2enmod rewrite
#CMD ["/bin/bash", "/opt/your_app/init.sh"]
# php -f ...
# php artisan make:command ConfigureApp --command=app:configure