summaryrefslogtreecommitdiff
path: root/DockerfilePullFromGit
diff options
context:
space:
mode:
Diffstat (limited to 'DockerfilePullFromGit')
-rwxr-xr-xDockerfilePullFromGit10
1 files changed, 10 insertions, 0 deletions
diff --git a/DockerfilePullFromGit b/DockerfilePullFromGit
new file mode 100755
index 0000000..898b803
--- /dev/null
+++ b/DockerfilePullFromGit
@@ -0,0 +1,10 @@
+FROM ubuntu:latest
+
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install nginx git cron nano
+
+COPY install.sh /tmp/
+
+EXPOSE 80
+
+# execute install, start cron and nginx
+CMD chmod +x /tmp/install.sh && /tmp/install.sh && cron && nginx