FROM selenium/node-chrome:3.11.0
LABEL authors="Dylan Reichstadt"

# Overwrite the config file
COPY generate_config /opt/bin/generate_config

# Generating a default config during build time
RUN /opt/bin/generate_config > /opt/selenium/config.json
