update deps and add dockerfile

This commit is contained in:
iCrawl 2018-03-01 22:03:47 +01:00
parent 1a77649ce3
commit 8a75ab91a6
No known key found for this signature in database
GPG Key ID: E41A6DB922EC2CFE
3 changed files with 1567 additions and 493 deletions

19
Dockerfile Normal file
View File

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

View File

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

2019
yarn.lock

File diff suppressed because it is too large Load Diff