This commit is contained in:
fencl
2024-01-02 13:01:29 +01:00
parent 386622df5d
commit 8f430d7adf
974 changed files with 190 additions and 128613 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM php:8.0-apache
WORKDIR /var/www/html
#COPY index.php index.php
RUN mkdir /app
COPY vhost.conf /etc/apache2/sites-available/000-default.conf
COPY adf/saveData.php /var/www/html/saveData.php
WORKDIR /app
COPY . .
# ADD extras/dockerstart.sh /usr/local/servicemix/bin/
# RUN chmod 755 /usr/local/bin/dockerstart.sh
RUN chown -R www-data:www-data /app && a2enmod rewrite
RUN docker-php-ext-install mysqli pdo pdo_mysql
EXPOSE 80