Merge canvas-fix into master

This commit is contained in:
Paul Munteanu
2021-07-29 22:03:06 +03:00
2 changed files with 2 additions and 1 deletions
+1 -1
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
+1
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",