FROM ghcr.io/mpo-web-consulting/wintercms:8.2-apache-v1.2.4

COPY themes/vivespos /var/www/html/themes/vivespos
COPY plugins/vivespos /var/www/html/plugins/vivespos

ENV CMS_ACTIVE_THEME=vivespos
ENV INIT_WINTER=true
ENV APP_URL=http://www.vivespos.com
ENV APP_DEBUG=false

RUN chown -R www-data:www-data /var/www/html/themes/vivespos /var/www/html/plugins/vivespos

EXPOSE 80
