<commit_before>import React from 'react';

export default class RepoConfig extends React.Component {

  render() {
    return (
      <div>
        <h3>Configuration</h3>
        <div className="row">
          <div className="col-md-3">
            <b>Entrypoint:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Entrypoint && this.props.config.Entrypoint.map((point, index) => (
              <span key={index}>{point} </span>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>CMD:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Cmd && this.props.config.Cmd.map((cmd, index) => (
              <span key={index}>{cmd} </span>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>ENV:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Env && this.props.config.Env.map((env, index) => (
              <div key={index}>{env}</div>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>Exposed Ports:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.ExposedPorts && Object.keys(this.props.config.ExposedPorts).map((port, index) => (
              <div key={index}>{port}</div>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>Volumes:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Volumes && Object.keys(this.props.config.Volumes).map((volume, index) => (
              <div key={index}>{volume}</div>
            ))}
          </div>
        </div>
      </div>
    );
  }
}

RepoConfig.propTypes = {
  config: React.PropTypes.object.isRequired
}
<commit_msg>Display labels in image info<commit_after>import React from 'react';

export default class RepoConfig extends React.Component {

  render() {
    return (
      <div>
        <h3>Configuration</h3>
        <div className="row">
          <div className="col-md-3">
            <b>Entrypoint:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Entrypoint && this.props.config.Entrypoint.map((point, index) => (
              <span key={index}>{point} </span>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>CMD:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Cmd && this.props.config.Cmd.map((cmd, index) => (
              <span key={index}>{cmd} </span>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>ENV:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Env && this.props.config.Env.map((env, index) => (
              <div key={index}>{env}</div>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>Exposed Ports:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.ExposedPorts && Object.keys(this.props.config.ExposedPorts).map((port, index) => (
              <div key={index}>{port}</div>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>Volumes:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Volumes && Object.keys(this.props.config.Volumes).map((volume, index) => (
              <div key={index}>{volume}</div>
            ))}
          </div>
        </div>
        <hr/>
        <div className="row">
          <div className="col-md-3">
            <b>Lables:</b>
          </div>
          <div className="col-md-9">
            {this.props.config.Labels && Object.keys(this.props.config.Labels).map((label, index) => (
                <div key={index}>{label} : {this.props.config.Labels[label]}</div>
            ))}
          </div>
        </div>
      </div>
    );
  }
}

RepoConfig.propTypes = {
  config: React.PropTypes.object.isRequired
}

{'fraction_non_alphanumeric': 0.18368715083798884, 'fraction_numerical': 0.005810055865921788, 'mean_word_length': 1.478405315614618, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2211932', 'n_tokens_mistral': 1413, 'n_tokens_neox': 1399, 'n_words': 221}