crontab-ui/Dockerfile

27 lines
462 B
Docker
Raw Normal View History

2017-06-02 21:34:08 +00:00
# docker run -d -p 8000:8000 alseambusher/crontab-ui
FROM alpine:3.5
LABEL maintainer "@alseambusher"
LABEL description "Crontab-UI docker"
RUN apk --no-cache add \
nodejs \
wget \
curl \
supervisor
COPY supervisord.conf /etc/supervisord.conf
2017-06-02 21:34:08 +00:00
RUN npm install -g crontab-ui
ENV HOST 0.0.0.0
ENV PORT 8000
2017-07-19 14:16:07 +00:00
ENV CRON_PATH /tmp
ENV CRON_IN_DOCKER true
2017-06-02 21:34:08 +00:00
EXPOSE $PORT
CMD ["supervisord", "-c", "/etc/supervisord.conf"]