@@ -21,6 +21,7 @@ RUN sed -e 's/upload_max_filesize = .*/upload_max_filesize = 8M/' \
-e 's,;session.save_path.*,session.save_path = "/run/app/sessions",' \
-i /etc/php5/apache2/php.ini
+ADD index.html /app/code/index.html
ADD start.sh /app/code/start.sh
CMD [ "/app/code/start.sh" ]
@@ -24,4 +24,3 @@
</IfModule>
</Directory>
</VirtualHost>
-
@@ -0,0 +1,15 @@
+<html>
+<head>
+ <title> Welcome </title>
+</head>
+
+<body>
+<h4>This works!</h4>
+<p>
+Use the <a href="https://cloudron.io/references/cli.html">cloudron</a> commandline tool to put files in this app or get a remote terminal.
+</p>
+</body>
+</html>
@@ -3,6 +3,11 @@
set -eu
mkdir -p /app/data
+if [ ! -f "/app/data/index.html" ]; then
+ cp /app/code/index.html /app/data/index.html
+fi
chown -R www-data:www-data /app/data /run/app
echo "Starting apache"