10 lines
252 B
Text
Executable file
10 lines
252 B
Text
Executable file
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
|