2 Commits

Author SHA1 Message Date
  Robin Thoni 03b598ef1c
Updated api and backend 4 years ago
  Robin Thoni 1728ce7ed0
Optimized backend Dockerfile 4 years ago
3 changed files with 9 additions and 3 deletions
  1. 1
    1
      api/api
  2. 7
    1
      backend/Dockerfile
  3. 1
    1
      backend/backend

+ 1
- 1
api/api

1
-Subproject commit ededaa6d09c2bb3152b9262268d8e35a8b42bc9d
1
+Subproject commit f0ce30a55fa52bbca35a3a429a8b8bbdef991791

+ 7
- 1
backend/Dockerfile View File

37
 
37
 
38
 COPY apache2.conf /etc/apache2/apache2.conf
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
 RUN cd /var/www/html && composer install
46
 RUN cd /var/www/html && composer install
43
 
47
 
51
 
55
 
52
 COPY env "${CONFIG_DIR}"
56
 COPY env "${CONFIG_DIR}"
53
 
57
 
58
+COPY ./backend/ /var/www/html/
59
+
54
 RUN chmod -R 777 /var/www/html/storage/
60
 RUN chmod -R 777 /var/www/html/storage/
55
         #&& ln -s /dev/stdout /var/www/html/storage/logs/lumen.log
61
         #&& ln -s /dev/stdout /var/www/html/storage/logs/lumen.log
56
 
62
 

+ 1
- 1
backend/backend

1
-Subproject commit 8b89fb3fd0fd272b66e24d982da928dfa78474bc
1
+Subproject commit 5f24ec73c6ac1ccaeae0c97fe557dd33fc3f5725

Loading…
Cancel
Save