mirror of
https://github.com/browser-use/web-ui.git
synced 2026-03-22 11:17:17 +08:00
Update Dockerfile
This commit is contained in:
@@ -43,11 +43,8 @@ RUN git clone https://github.com/novnc/noVNC.git /opt/novnc \
|
|||||||
&& ln -s /opt/novnc/vnc.html /opt/novnc/index.html
|
&& ln -s /opt/novnc/vnc.html /opt/novnc/index.html
|
||||||
|
|
||||||
# Install Chrome
|
# Install Chrome
|
||||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
RUN curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg \
|
||||||
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
|
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get install -y google-chrome-stable \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Set up working directory
|
# Set up working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -79,4 +76,4 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|||||||
|
|
||||||
EXPOSE 7788 6080 5900
|
EXPOSE 7788 6080 5900
|
||||||
|
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||||
|
|||||||
Reference in New Issue
Block a user