Skip to content

Commit 83c7173

Browse files
authored
Update Dockerfile.txt
1 parent 777a0b4 commit 83c7173

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

NodeFirefox/Dockerfile.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ RUN wget --no-verbose -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geck
2727
&& chmod 755 /opt/geckodriver-$GECKODRIVER_VERSION \
2828
&& ln -fs /opt/geckodriver-$GECKODRIVER_VERSION /usr/bin/geckodriver
2929

30+
# Install 'pulseaudio' package to support WebRTC audio streams
31+
RUN apt-get update && apt-get install -y pulseaudio
32+
3033
USER seluser
3134

3235
COPY generate_config /opt/bin/generate_config
@@ -39,6 +42,4 @@ RUN sudo echo ""
3942
# Generating a default config during build time
4043
RUN /opt/bin/generate_config > /opt/selenium/config.json
4144

42-
# Install 'pulseaudio' package to support WebRTC audio streams
43-
RUN sudo apt-get update && sudo apt-get install -y pulseaudio
4445

0 commit comments

Comments
 (0)