canvas fix
This commit is contained in:
@@ -2,5 +2,8 @@
|
||||
FROM node:16.10.0
|
||||
WORKDIR /app
|
||||
COPY ./ ./
|
||||
RUN apt-get -y update
|
||||
RUN apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
|
||||
RUN npm install --build-from-source canvas
|
||||
RUN npm install
|
||||
CMD ["node", "index.js"]
|
||||
@@ -1,4 +1,4 @@
|
||||
/*module.exports = {
|
||||
module.exports = {
|
||||
name: "profile",
|
||||
async execute(cl, msg, args, connect) {
|
||||
const { roundRect, expThreshold } = require("../functions/tools");
|
||||
@@ -54,4 +54,3 @@
|
||||
.catch((err) => console.error(err.stack));
|
||||
},
|
||||
};
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user