Update wrapper/dockerfile
This commit is contained in:
parent
842261d5d5
commit
8f7be81be6
@ -9,7 +9,7 @@ RUN apt-get update && \
|
||||
|
||||
RUN pip install --no-cache-dir pip setuptools wheel
|
||||
|
||||
# ---- (optional) Playwright runtime libs ----
|
||||
# ---- (optional) Playwright OS libs ----
|
||||
ARG WITH_PLAYWRIGHT=1
|
||||
RUN if [ "$WITH_PLAYWRIGHT" = "1" ]; then \
|
||||
set -eux; \
|
||||
@ -22,10 +22,11 @@ RUN if [ "$WITH_PLAYWRIGHT" = "1" ]; then \
|
||||
fi
|
||||
|
||||
# ---- install wrapper python deps (includes playwright) ----
|
||||
# keep this separate from repo requirements; the wrapper must have playwright even if repo doesn't list it
|
||||
COPY requirements.txt /app/requirements-wrapper.txt
|
||||
RUN pip install --no-cache-dir -r /app/requirements-wrapper.txt
|
||||
|
||||
# ---- bring wrapper in ----
|
||||
# ---- wrapper files ----
|
||||
COPY wrapper.py /app/wrapper.py
|
||||
COPY start.sh /app/start.sh
|
||||
RUN chmod +x /app/start.sh
|
||||
|
Loading…
Reference in New Issue
Block a user