We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50aa7f9 commit 076e248Copy full SHA for 076e248
1 file changed
Dockerfile
@@ -22,7 +22,11 @@ ADD conf/apache.conf /etc/apache2/sites-available/000-default.conf
22
23
RUN a2enmod rewrite
24
25
-ADD startScript.sh /startScript.sh
+# The printf command below creates the script /startScript.sh with the following 3 lines.
26
+# #!/bin/bash
27
+# mv /codeigniter4 /var/www/html
28
+# /usr/sbin/apache2ctl -D FOREGROUND
29
+RUN printf "#!/bin/bash\nmv /codeigniter4 /var/www/html\n/usr/sbin/apache2ctl -D FOREGROUND" > /startScript.sh
30
RUN chmod +x /startScript.sh
31
32
RUN cd /var/www/html
0 commit comments