mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
fix(heatmaps): playwright (#40747)
This commit is contained in:
@@ -312,7 +312,9 @@ ENV PATH=/python-runtime/bin:$PATH \
|
||||
|
||||
# Install Playwright Chromium browser for video export (as root for system deps)
|
||||
USER root
|
||||
RUN /python-runtime/bin/python -m playwright install --with-deps chromium
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
RUN /python-runtime/bin/python -m playwright install --with-deps chromium && \
|
||||
chown -R posthog:posthog /ms-playwright
|
||||
USER posthog
|
||||
|
||||
# Validate video export dependencies
|
||||
@@ -345,7 +347,8 @@ ENV NODE_ENV=production \
|
||||
CHROME_BIN=/usr/bin/chromium \
|
||||
CHROME_PATH=/usr/lib/chromium/ \
|
||||
CHROMEDRIVER_BIN=/usr/bin/chromedriver \
|
||||
BUILD_LIBRDKAFKA=0
|
||||
BUILD_LIBRDKAFKA=0 \
|
||||
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
|
||||
# Expose container port and run entry point script.
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user