Closed gaurav-nelson closed 3 months ago
I'd like to give this a shot
Thank you @dotarjun
I was testing with the following Dockerfile
, feel free to innovate:
FROM alpine
RUN apk add --update --no-cache \
git \
chromium \
nss \
freetype \
harfbuzz \
ca-certificates \
ttf-freefont \
nodejs \
curl
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV PNPM_HOME=/usr/local/bin
RUN curl -L https://unpkg.com/@pnpm/self-installer | node
RUN pnpm i -g puppeteer @umbrelladocs/linkspector
RUN addgroup -S pptruser && adduser -S -G pptruser pptruser \
&& mkdir -p /home/pptruser/Downloads /app \
&& chown -R pptruser:pptruser /home/pptruser \
&& chown -R pptruser:pptruser /app
USER pptruser
hey, pls assign me first
Create a Dockerfile to run Linkspector in a Docker image.