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

32 lines
524 B

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