From 67f51d0a3a8bb7181637b3c1aa428463e099cbc9 Mon Sep 17 00:00:00 2001 From: Jan <> Date: Thu, 16 Dec 2021 12:21:45 +0100 Subject: auto pulling from git repo --- DockerfilePullFromGit | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 DockerfilePullFromGit (limited to 'DockerfilePullFromGit') 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 -- cgit v1.2.3