docker: also install firefox

This commit is contained in:
Ralf Vogler 2022-12-17 00:27:15 +01:00
parent d616de2096
commit ba545632f5

View file

@ -45,9 +45,9 @@ RUN ln -s /usr/share/novnc/vnc_auto.html /usr/share/novnc/index.html
WORKDIR /fgc WORKDIR /fgc
COPY package*.json ./ COPY package*.json ./
# Install chromium & dependencies only # Install browser & dependencies only
RUN npm install \ RUN npm install \
&& npx playwright install --with-deps chromium \ && npx playwright install --with-deps firefox chromium \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*