Skip to content

Commit

Permalink
Actually needed a bunch more deps
Browse files Browse the repository at this point in the history
  • Loading branch information
petterigit committed Feb 16, 2023
1 parent 797f5cd commit 1597ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
FROM node:16

RUN apt-get update && apt-get -y install \
libnss3 \
libxss1 \
libasound2 \
libatk-bridge2.0-0 \
libgtk-3-0
RUN apt-get update && sudo apt-get install gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget


WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion src/slash-commands/ruokaa2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const ruokaa = async (interaction: CommandInteraction) => {
);
}

const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ args: ["--no-sandbox"] });
const page = await browser.newPage();
await page.setViewport({ width: 1200, height: 10000 });

Expand Down

0 comments on commit 1597ed2

Please sign in to comment.