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 \
|
2017-07-10 04:26:17 +00:00
|
|
|
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
|
|
|
|
|
2017-07-10 04:26:17 +00:00
|
|
|
CMD ["supervisord", "-c", "/etc/supervisord.conf"]
|