You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crontab-ui/Dockerfile

35 lines
594 B

# docker run -d -p 8000:8000 alseambusher/crontab-ui
FROM alpine:3.10
ENV CRON_PATH /etc/crontabs
RUN mkdir /crontab-ui; touch $CRON_PATH/root; chmod +x $CRON_PATH/root
WORKDIR /crontab-ui
LABEL maintainer "@alseambusher"
LABEL description "Crontab-UI docker"
RUN apk --no-cache add \
wget \
curl \
nodejs \
npm \
supervisor \
tzdata
COPY supervisord.conf /etc/supervisord.conf
COPY . /crontab-ui
RUN npm install
ENV HOST 0.0.0.0
ENV PORT 8000
ENV CRON_IN_DOCKER true
EXPOSE $PORT
CMD ["supervisord", "-c", "/etc/supervisord.conf"]