FROM php:5.6-apache

WORKDIR /var/www/html

COPY . /var/www/html
COPY docker-entrypoint.sh /usr/local/bin/kuzuha-entrypoint

RUN chmod +x /usr/local/bin/kuzuha-entrypoint

ENTRYPOINT ["kuzuha-entrypoint"]
CMD ["apache2-foreground"]
