Skip to content

Commit 1883233

Browse files
committed
let firefox specify node instances
1 parent e423b4b commit 1883233

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

NodeFirefox/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ ENV NODE_MAX_INSTANCES 1
4242
ENV NODE_MAX_SESSION 1
4343
ENV NODE_REGISTER_CYCLE 5000
4444
COPY generate_config /opt/selenium/generate_config
45-
RUN /opt/selenium/generate_config > /opt/selenium/config.json
45+
RUN chmod +x /opt/selenium/generate_config \
46+
&& chown -R seluser:seluser /opt/selenium
4647

4748
USER seluser

NodeFirefox/Dockerfile.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ENV NODE_MAX_INSTANCES 1
3737
ENV NODE_MAX_SESSION 1
3838
ENV NODE_REGISTER_CYCLE 5000
3939
COPY generate_config /opt/selenium/generate_config
40-
RUN /opt/selenium/generate_config > /opt/selenium/config.json
40+
RUN chmod +x /opt/selenium/generate_config \
41+
&& chown -R seluser:seluser /opt/selenium
4142

4243
USER seluser

0 commit comments

Comments
 (0)