Skip to content

Commit 68d7f5b

Browse files
author
Alexandru Meterez
committed
Finish update to pupeteer usage
1 parent 2fb0db2 commit 68d7f5b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ docker build --no-cache -t fred .
2323
docker run -p 5000:5000 -m 8g --memory-reservation=8g --oom-kill-disable=True --memory-swap 8G fred
2424
```
2525
If you still encounter issues with out of memory errors, allocate more memory from the UI Docker app. Simply click the Docker icon in your toolbar, go to `Preferences`-`Advanced` and then pull the slider to around `8GB`.
26-
26+
We recommended running it locally instead of using the Dockerfile or to increase the memory allocated to docker to `at least 8GB, prefferably 16GB`.
2727
## Setup
2828

2929
### Dependencies and how to run

docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ RUN apt-get update && apt-get install -y git curl unzip
55

66
RUN apt-get install -y xorg
77

8+
RUN curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add && \
9+
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \
10+
apt-get -y update && \
11+
apt-get -y install google-chrome-stable
12+
813
# Prepare environment UTF-8
914
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales
1015
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \

0 commit comments

Comments
 (0)