Dockerfile 456 B

12345678910111213141516171819
  1. FROM node:9
  2. LABEL name "lolisafe"
  3. LABEL version "3.0.0"
  4. LABEL maintainer "iCrawl <[email protected]>"
  5. WORKDIR /usr/src/lolisafe
  6. COPY package.json yarn.lock ./
  7. RUN sh -c 'echo "deb http://www.deb-multimedia.org jessie main" >> /etc/apt/sources.list' \
  8. && apt-key adv --keyserver keyring.debian.org --recv-keys 5C808C2B65558117 \
  9. && apt-get update \
  10. && apt-get install -y ffmpeg graphicsmagick \
  11. && yarn install
  12. COPY . .
  13. CMD ["node", "lolisafe.js"]