docker support

v0.2.9
Suresh Alse 2017-06-02 14:34:08 -07:00
parent 8588800025
commit f6850290e3
3 changed files with 25 additions and 1 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
# docker run -it -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
RUN npm install -g crontab-ui
ENV HOST 0.0.0.0
ENV PORT 8000
EXPOSE $PORT
CMD ["crontab-ui"]

View File

@ -32,6 +32,10 @@ Also, you may have to **set permissions** for your `node_modules` folder. Refer
If you need to autosave your changes to crontab directly:
crontab-ui --autosave
Setting up with docker:
docker run -d -p 8000:8000 alseambusher/crontab-ui
## Resources

View File

@ -1,6 +1,6 @@
{
"name": "crontab-ui",
"version": "0.2.8",
"version": "0.2.9",
"description": "Easy and safe way to manage your crontab file",
"main": "index.js",
"scripts": {