update deps and add dockerfile

safe.fiery.me
iCrawl 5 years ago
parent 1a77649ce3
commit 8a75ab91a6
No known key found for this signature in database
GPG Key ID: E41A6DB922EC2CFE
  1. 19
      Dockerfile
  2. 22
      package.json
  3. 2011
      yarn.lock

@ -0,0 +1,19 @@
FROM node:9
LABEL name "lolisafe"
LABEL version "3.0.0"
LABEL maintainer "iCrawl <icrawltogo@gmail.com>"
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"]

@ -16,21 +16,21 @@
"license": "MIT",
"dependencies": {
"bcrypt": "^1.0.3",
"body-parser": "^1.16.0",
"express": "^4.14.0",
"body-parser": "^1.18.2",
"express": "^4.16.1",
"express-handlebars": "^3.0.0",
"express-rate-limit": "^2.6.0",
"fluent-ffmpeg": "^2.1.0",
"gm": "^1.23.0",
"helmet": "^3.5.0",
"jszip": "^3.1.4",
"knex": "^0.12.6",
"multer": "^1.2.1",
"express-rate-limit": "^2.11.0",
"fluent-ffmpeg": "^2.1.2",
"gm": "^1.23.1",
"helmet": "^3.11.0",
"jszip": "^3.1.5",
"knex": "^0.14.4",
"multer": "^1.3.0",
"randomstring": "^1.1.5",
"sqlite3": "^3.1.11"
"sqlite3": "^3.1.13"
},
"devDependencies": {
"eslint": "^4.4.1",
"eslint": "^4.18.1",
"eslint-config-aqua": "^1.4.1"
},
"eslintConfig": {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save