diff options
| author | iCrawl <[email protected]> | 2018-03-01 22:03:47 +0100 |
|---|---|---|
| committer | iCrawl <[email protected]> | 2018-03-01 22:03:47 +0100 |
| commit | 8a75ab91a6de2c963e390ea828daea235f0feac1 (patch) | |
| tree | b5d3b8db2783f67295037fccd77dca877a623f47 /Dockerfile | |
| parent | Merge pull request #75 from pyraxo/master (diff) | |
| download | host.fuwn.me-8a75ab91a6de2c963e390ea828daea235f0feac1.tar.xz host.fuwn.me-8a75ab91a6de2c963e390ea828daea235f0feac1.zip | |
update deps and add dockerfile
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35f8912 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM node:9 + +LABEL name "lolisafe" +LABEL version "3.0.0" +LABEL maintainer "iCrawl <[email protected]>" + +WORKDIR /usr/src/lolisafe + +COPY package.json yarn.lock ./ + +RUN sh -c 'echo "deb http://www.deb-multimedia.org jessie main" >> /etc/apt/sources.list' \ +&& apt-key adv --keyserver keyring.debian.org --recv-keys 5C808C2B65558117 \ +&& apt-get update \ +&& apt-get install -y ffmpeg graphicsmagick \ +&& yarn install + +COPY . . + +CMD ["node", "lolisafe.js"] |