ical2json/Dockerfile

9 lines
371 B
Docker
Raw Permalink Normal View History

2023-04-20 12:37:33 +02:00
FROM php:8-apache
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl git unzip && rm -rf /var/lib/apt/lists/*
RUN rm /var/www/html/* -rf
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY htdocs/ /var/www/html
WORKDIR /var/www/html
RUN composer install
RUN chown www-data:www-data /var/www/html