Merge canvas-fix into master
This commit is contained in:
commit
a84a59dc40
@ -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
|
WORKDIR /usr/src/fosscord-api
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY package-lock.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
|
RUN npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
"assert": "^1.5.0",
|
"assert": "^1.5.0",
|
||||||
"atomically": "^1.7.0",
|
"atomically": "^1.7.0",
|
||||||
"bcrypt": "^5.0.1",
|
"bcrypt": "^5.0.1",
|
||||||
|
"canvas": "^2.8.0",
|
||||||
"body-parser": "^1.19.0",
|
"body-parser": "^1.19.0",
|
||||||
"cheerio": "^1.0.0-rc.9",
|
"cheerio": "^1.0.0-rc.9",
|
||||||
"dot-prop": "^6.0.1",
|
"dot-prop": "^6.0.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user