Skip to content

Commit

Permalink
let firefox specify node instances
Browse files Browse the repository at this point in the history
  • Loading branch information
ddavison committed Oct 7, 2016
1 parent e423b4b commit 1883233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NodeFirefox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ENV NODE_MAX_INSTANCES 1
ENV NODE_MAX_SESSION 1
ENV NODE_REGISTER_CYCLE 5000
COPY generate_config /opt/selenium/generate_config
RUN /opt/selenium/generate_config > /opt/selenium/config.json
RUN chmod +x /opt/selenium/generate_config \
&& chown -R seluser:seluser /opt/selenium

USER seluser
3 changes: 2 additions & 1 deletion NodeFirefox/Dockerfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ENV NODE_MAX_INSTANCES 1
ENV NODE_MAX_SESSION 1
ENV NODE_REGISTER_CYCLE 5000
COPY generate_config /opt/selenium/generate_config
RUN /opt/selenium/generate_config > /opt/selenium/config.json
RUN chmod +x /opt/selenium/generate_config \
&& chown -R seluser:seluser /opt/selenium

USER seluser

0 comments on commit 1883233

Please sign in to comment.