seperate frontend and backend into different containers
This commit is contained in:
10
backend.dockerfile
Normal file
10
backend.dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM php:7.0-apache
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql mysqli
|
||||
RUN a2enmod rewrite
|
||||
|
||||
COPY docker/php/apache2.conf /etc/apache2/
|
||||
|
||||
COPY backend /var/www/html
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
Reference in New Issue
Block a user