Updated to version 1.2.6
This commit is contained in:
+5
-3
@@ -15,14 +15,16 @@ RUN apt-get update \
|
||||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" \
|
||||
> /etc/apt/sources.list.d/docker.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends docker-ce-cli docker-compose-plugin \
|
||||
&& apt-get install -y --no-install-recommends docker-ce-cli docker-compose-plugin openssh-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Install Playwright browser (Chromium) and its system dependencies
|
||||
RUN playwright install --with-deps chromium
|
||||
# Install Playwright browser (Chromium) and its system dependencies.
|
||||
# Skip with: docker build --build-arg NO_BROWSER=1 ... (~350MB smaller, browser tool unavailable)
|
||||
ARG NO_BROWSER=0
|
||||
RUN if [ "$NO_BROWSER" = "0" ]; then playwright install --with-deps chromium; fi
|
||||
|
||||
COPY server/ ./server/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user