1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Merge canvas-fix into master

This commit is contained in:
Paul Munteanu 2021-07-29 22:03:06 +03:00
commit a84a59dc40
No known key found for this signature in database
GPG Key ID: 4C0797E4861E8917
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ RUN apk add --no-cache make gcc g++ python cairo-dev jpeg-dev pango-dev giflib-d
WORKDIR /usr/src/fosscord-api
COPY package.json .
COPY package-lock.json .
RUN npm rebuild bcrypt --build-from-source && npm rebuild canvas --build-from-source
RUN npm rebuild bcrypt --build-from-source && npm install canvas --build-from-source
RUN npm install
COPY . .
EXPOSE 3001

View File

@ -41,6 +41,7 @@
"assert": "^1.5.0",
"atomically": "^1.7.0",
"bcrypt": "^5.0.1",
"canvas": "^2.8.0",
"body-parser": "^1.19.0",
"cheerio": "^1.0.0-rc.9",
"dot-prop": "^6.0.1",