Docker updates
This commit is contained in:
13
docker/ttp-apache/Dockerfile
Normal file
13
docker/ttp-apache/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM php:8-apache as apache
|
||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install git libzip-dev -y
|
||||
RUN a2enmod ssl && a2enmod rewrite
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql zip
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
# RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
WORKDIR /var/www
|
||||
RUN rm -rf html/
|
||||
RUN composer create-project thetempusproject/thetempusproject html
|
||||
RUN chmod -R 777 html/
|
||||
RUN chown -R www-data:www-data html/
|
Reference in New Issue
Block a user