<commit_before>#
# conductor:serverAndUI - Netflix conductor server and UI
#
FROM java:8-jdk

MAINTAINER Netflix OSS <<EMAIL>>

# Make app folders
RUN mkdir -p /app/config /app/logs /app/libs

# Startup script(s)
COPY ./bin /app

# Configs
COPY ./config /app/config

# Get all the dependencies
RUN apt-get update -y \
  && apt-get -y install git curl \

  # Chmod scripts
  && chmod +x /app/startup.sh \

  # Get node
  && curl -sL https://deb.nodesource.com/setup_6.x |  bash - \
  && apt-get install -y nodejs build-essential

# Get and install conductor
RUN git clone --depth 1 https://github.com/Netflix/conductor.git \
  && cd conductor \
  && ./gradlew build -x test \

  # Get Server Jar
  && mv ./server/build/libs/conductor-server-*-all.jar /app/libs/ \

  # Get UI project
  && mv ./ui /app \

  # Install UI packages
  && cd /app/ui \
  && npm install \
  && npm run build --server \

  # Go back to root
  && cd / \

  # Clean up
  && rm -rf conductor


EXPOSE 5000 8080

CMD ["/app/startup.sh"]
ENTRYPOINT ["/bin/bash"]
<commit_msg>adds full cloned repository<commit_after>#
# conductor:serverAndUI - Netflix conductor server and UI
#
FROM java:8-jdk

MAINTAINER Netflix OSS <<EMAIL>>

# Make app folders
RUN mkdir -p /app/config /app/logs /app/libs

# Startup script(s)
COPY ./bin /app

# Configs
COPY ./config /app/config

# Get all the dependencies
RUN apt-get update -y \
  && apt-get -y install git curl \

  # Chmod scripts
  && chmod +x /app/startup.sh \

  # Get node
  && curl -sL https://deb.nodesource.com/setup_6.x |  bash - \
  && apt-get install -y nodejs build-essential

# Get and install conductor
RUN git clone https://github.com/Netflix/conductor.git \
  && cd conductor \
  && ./gradlew build -x test \

  # Get Server Jar
  && mv ./server/build/libs/conductor-server-*-all.jar /app/libs/ \

  # Get UI project
  && mv ./ui /app \

  # Install UI packages
  && cd /app/ui \
  && npm install \
  && npm run build --server \

  # Go back to root
  && cd / \

  # Clean up
  && rm -rf conductor


EXPOSE 5000 8080

CMD ["/app/startup.sh"]
ENTRYPOINT ["/bin/bash"]

{'fraction_non_alphanumeric': 0.1413562559694365, 'fraction_numerical': 0.01002865329512894, 'mean_word_length': 2.4800664451827243, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '1051200', 'n_tokens_mistral': 812, 'n_tokens_neox': 733, 'n_words': 233}