diff options
| author | Jeroen <jeroenpardon@users.noreply.github.com> | 2022-02-12 02:46:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-12 02:46:27 +0100 |
| commit | ccb68263177a27a57fed98ee52b98e64d5462609 (patch) | |
| tree | 6019c700272c32a812776cacb2e293a19119822f /DockerfilePullFromGit | |
| parent | 804a22bcbed289b1ace576b6fe670b88cf0d207f (diff) | |
| parent | 8ceb1d5301bcaf2a8e5e108d895fc46b0c6aab27 (diff) | |
Merge pull request #26 from jrodan/master
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 |