mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
648 B
17 lines
648 B
FROM node:22.19.0-slim
|
|
|
|
ENV CHROME_BIN=/usr/bin/chromium
|
|
|
|
# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
|
|
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
|
|
# installs, work.
|
|
RUN apt-get update \
|
|
&& apt-get update \
|
|
&& apt-get install -y chromium fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 --no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /puppeteer
|
|
|
|
# Install puppeteer so it's available in the container.
|
|
RUN npm init -y \
|
|
&& npm install puppeteer
|