summaryrefslogtreecommitdiff
path: root/DockerfilePullFromGit
blob: 898b80388841cdac27a8893e65bb3d106e2754c7 (plain)
1
2
3
4
5
6
7
8
9
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