Spaces:
Configuration error
Configuration error
AIGoose commited on
Commit ·
2d3b83d
1
Parent(s): 9563efc
fix: install chrome-headless-shell for HyperFrames optimized render path
Browse files22 unmodified lines23242526272822 unmodified linesCOPY package.json ./RUN npm installRUN python3 -m venv /app/venvENV PATH="/app/venv/bin:$PATH"COPY requirements.txt ./22 unmodified lines2324252627282930313222 unmodified linesCOPY package.json ./RUN npm install# Install chrome-headless-shell for HyperFrames optimized render pathRUN npx @puppeteer/browsers install chrome-headless-shell@stable --path /app/.chrome || trueENV PRODUCER_HEADLESS_SHELL_PATH=/app/.chrome/chrome-headless-shell/linux-*/chrome-headless-shell/chrome-headless-shellRUN python3 -m venv /app/venvENV PATH="/app/venv/bin:$PATH"COPY requirements.txt ./
Dockerfile+4