mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
update deps and add dockerfile
This commit is contained in:
parent
1a77649ce3
commit
8a75ab91a6
19
Dockerfile
Normal file
19
Dockerfile
Normal 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"]
|
22
package.json
22
package.json
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user