Spaces:
Sleeping
Sleeping
Commit
·
1bf06f1
1
Parent(s):
859b606
test 3
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -21,9 +21,4 @@ RUN chmod 777 /var/log/apache2/error.log; ls -la /var/log/apache2/error.log
|
|
21 |
COPY mvc /var/www/html/
|
22 |
RUN ls -la /var/www/html/
|
23 |
|
24 |
-
RUN useradd -m -u 1000 user;
|
25 |
-
ENV HOME=/home/user \
|
26 |
-
PATH=/home/user/.local/bin:$PATH
|
27 |
-
USER user
|
28 |
-
|
29 |
CMD ["bash", "-c", "whoami; id; cat /etc/apache2/sites-enabled/000-default.conf; service apache2 start; tail -F /var/log/apache2/error.log"]
|
|
|
21 |
COPY mvc /var/www/html/
|
22 |
RUN ls -la /var/www/html/
|
23 |
|
|
|
|
|
|
|
|
|
|
|
24 |
CMD ["bash", "-c", "whoami; id; cat /etc/apache2/sites-enabled/000-default.conf; service apache2 start; tail -F /var/log/apache2/error.log"]
|