diff options
| author | Jan <> | 2021-12-16 12:21:45 +0100 |
|---|---|---|
| committer | Jan <> | 2021-12-16 12:21:45 +0100 |
| commit | 67f51d0a3a8bb7181637b3c1aa428463e099cbc9 (patch) | |
| tree | fd429032a23232967f217672b98b43c88b9ba74b /DockerfilePullFromGit | |
| parent | 804a22bcbed289b1ace576b6fe670b88cf0d207f (diff) | |
auto pulling from git repo
Diffstat (limited to 'DockerfilePullFromGit')
| -rwxr-xr-x | DockerfilePullFromGit | 10 |
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 |