|
@@ -37,7 +37,11 @@ RUN rm -rf /var/log/* &&\
|
37
|
37
|
|
38
|
38
|
COPY apache2.conf /etc/apache2/apache2.conf
|
39
|
39
|
|
40
|
|
-COPY ./backend/ /var/www/html/
|
|
40
|
+COPY ./backend/composer.* /var/www/html/
|
|
41
|
+
|
|
42
|
+COPY ./backend/database/ /var/www/html/database/
|
|
43
|
+
|
|
44
|
+COPY ./backend/tests/ /var/www/html/tests/
|
41
|
45
|
|
42
|
46
|
RUN cd /var/www/html && composer install
|
43
|
47
|
|
|
@@ -51,6 +55,8 @@ RUN groupadd -g "${SPI_USER_UID}" spi && usermod -a -G spi www-data
|
51
|
55
|
|
52
|
56
|
COPY env "${CONFIG_DIR}"
|
53
|
57
|
|
|
58
|
+COPY ./backend/ /var/www/html/
|
|
59
|
+
|
54
|
60
|
RUN chmod -R 777 /var/www/html/storage/
|
55
|
61
|
#&& ln -s /dev/stdout /var/www/html/storage/logs/lumen.log
|
56
|
62
|
|