ladogton2010 commited on
Commit
2bd0c6c
·
1 Parent(s): 788e944
Files changed (2) hide show
  1. Dockerfile +4 -3
  2. entrypoint.sh +5 -0
Dockerfile CHANGED
@@ -5,7 +5,8 @@ RUN apt -y install apache2
5
 
6
  EXPOSE 7860
7
  RUN ps aux | grep apache2
8
- # USER root
9
- RUN chown -R docker-user:docker-user /var/run/apache2
10
 
11
- CMD ["apache2ctl", "-DFOREGROUND"]
 
 
5
 
6
  EXPOSE 7860
7
  RUN ps aux | grep apache2
8
+ USER root
9
+ whoami
10
 
11
+ CMD ["apache2ctl", "-DFOREGROUND"]
12
+ ENTRYPOINT ["entrypoint.sh"]
entrypoint.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+
2
+ pwd
3
+ cd
4
+ pwd
5
+ echo "fin"