Browse Source

docker support

pull/55/head
Suresh Alse 8 years ago
parent
commit
edd837e2a1
  1. 20
      Dockerfile
  2. 4
      README.md
  3. 2
      package.json

20
Dockerfile

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

4
README.md

@ -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

2
package.json

@ -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": {

Loading…
Cancel
Save