mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
#35 bugfix: set env CHROME_DEVEL_SANDBOX
This commit is contained in:
parent
bc747d50ce
commit
ff212b80e0
1 changed files with 4 additions and 2 deletions
|
|
@ -40,8 +40,10 @@ RUN useradd -m metagpt -s /bin/bash &&\
|
|||
cp -r /root/.cache /home/metagpt/ &&\
|
||||
chown metagpt -R /home/metagpt/.cache &&\
|
||||
chrome_sandbox=$(find /root/.cache/puppeteer/chrome/ -name "chrome_sandbox") &&\
|
||||
chmod 4755 $chrome_sandbox &&\
|
||||
cp $chrome_sandbox /usr/local/sbin/chrome-devel-sandbox
|
||||
cp $chrome_sandbox /usr/local/sbin/chrome-devel-sandbox &&\
|
||||
chmod 4755 /usr/local/sbin/chrome-devel-sandbox
|
||||
|
||||
ENV CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
|
||||
|
||||
WORKDIR /app/metagpt
|
||||
USER metagpt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue