diff --git a/Dockerfile b/Dockerfile index b4e9620..58d11e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/src/cmds/profile.js b/src/cmds/profile.js index b87a90b..c48b819 100644 --- a/src/cmds/profile.js +++ b/src/cmds/profile.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)); }, }; -*/