ladogton2010 commited on
Commit
8c6c759
·
1 Parent(s): 44a85d8
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -5,10 +5,6 @@ RUN apt update -y
5
  RUN apt upgrade -y
6
  # RUN apt install -y php php-pdo php-mysql
7
 
8
- COPY app /home/user/apache2/htdocs/app
9
- COPY public /home/user/apache2/htdocs/public
10
- COPY .htaccess /home/user/apache2/htdocs/.htaccess
11
-
12
  RUN apt update -y
13
  RUN apt upgrade -y
14
  RUN apt install -y dialog apt-utils
@@ -98,4 +94,10 @@ RUN which php
98
  RUN updatedb
99
  RUN locate index.php;
100
  USER user
 
 
 
 
 
 
101
  CMD [ "bash","-c", "/home/user/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
 
5
  RUN apt upgrade -y
6
  # RUN apt install -y php php-pdo php-mysql
7
 
 
 
 
 
8
  RUN apt update -y
9
  RUN apt upgrade -y
10
  RUN apt install -y dialog apt-utils
 
94
  RUN updatedb
95
  RUN locate index.php;
96
  USER user
97
+
98
+ COPY app /home/user/apache2/htdocs/app
99
+ COPY public /home/user/apache2/htdocs/public
100
+ COPY .htaccess /home/user/apache2/htdocs/.htaccess
101
+
102
+
103
  CMD [ "bash","-c", "/home/user/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]