<commit_before>FROM websphere-liberty:webProfile7
ARG ODMDOCKERDIR
ARG ODMVERSION
LABEL maintainer="ODMDev <EMAIL>"
LABEL ProductID="xxxxxxxxxxxxxxxxx"
LABEL ProductName="IBM Operational Decision Manager Non-Production"
LABEL ProductVersion=$ODMVERSION
MAINTAINER "<NAME> <<EMAIL>>, ODMDev <EMAIL>"

ENV ODMDOCKERDIR $ODMDOCKERDIR
ENV APP_NAME StandaloneOdm
ENV SCRIPT /script
ENV APPS /config/apps

RUN mkdir /config/resources && \
	mkdir -p $SCRIPT && \
	mkdir -p /config/dbdata

COPY ${ODMDOCKERDIR}/decisioncenter/config/application.xml /config
COPY ${ODMDOCKERDIR}/decisioncenter/config/application-withRestApi.xml /config
RUN mv /config/application.xml /config/decisioncenter_application.xml

COPY ${ODMDOCKERDIR}/decisionserver/decisionrunner/config/application.xml /config
RUN mv /config/application.xml /config/decisionrunner_application.xml

COPY ${ODMDOCKERDIR}/decisionserver/decisionserverconsole/config/application.xml /config
RUN mv /config/application.xml /config/decisionserverconsole_application.xml

COPY ${ODMDOCKERDIR}/decisionserver/decisionserverruntime/config/application.xml /config
RUN mv /config/application.xml /config/decisionserverruntime_application.xml

COPY ${ODMDOCKERDIR}/standalone/config /config
COPY ${ODMDOCKERDIR}/standalone/script $SCRIPT

COPY $ODMDOCKERDIR/common/security /config/resources/security
COPY $ODMDOCKERDIR/common/script $SCRIPT
COPY $ODMDOCKERDIR/common/features $SCRIPT

# Begin - Configuration for the database
# Install the driver for H2 and for PostgreSQL
RUN wget -nv http://central.maven.org/maven2/com/h2database/h2/1.4.196/h2-1.4.196.jar && mv h2* /config/resources && \
    wget -nv https://jdbc.postgresql.org/download/postgresql-42.1.4.jar && mv postgres* /config/resources
# End - Configuration for the database

ENV CONNECTION_POOL_SIZE 20
ENV SCRIPT /script
RUN chmod -R a+x $SCRIPT

# Sample DB
ADD ${ODMDOCKERDIR}/standalone/data.tar.gz /upload/

# Decision Center
COPY ./teamserver/applicationservers/WLP855/teamserver.war $APPS
COPY ./teamserver/applicationservers/WLP855/decisioncenter*.war $APPS<commit_msg>fix issue when copying multiple files in standalone image<commit_after>FROM websphere-liberty:webProfile7
ARG ODMDOCKERDIR
ARG ODMVERSION
LABEL maintainer="ODMDev <EMAIL>"
LABEL ProductID="xxxxxxxxxxxxxxxxx"
LABEL ProductName="IBM Operational Decision Manager Non-Production"
LABEL ProductVersion=$ODMVERSION
MAINTAINER "<NAME> <<EMAIL>>, ODMDev <EMAIL>"

ENV ODMDOCKERDIR $ODMDOCKERDIR
ENV APP_NAME StandaloneOdm
ENV SCRIPT /script
ENV APPS /config/apps

RUN mkdir /config/resources && \
	mkdir -p $SCRIPT && \
	mkdir -p /config/dbdata

COPY ${ODMDOCKERDIR}/decisioncenter/config/application.xml /config
COPY ${ODMDOCKERDIR}/decisioncenter/config/application-withRestApi.xml /config
RUN mv /config/application.xml /config/decisioncenter_application.xml

COPY ${ODMDOCKERDIR}/decisionserver/decisionrunner/config/application.xml /config
RUN mv /config/application.xml /config/decisionrunner_application.xml

COPY ${ODMDOCKERDIR}/decisionserver/decisionserverconsole/config/application.xml /config
RUN mv /config/application.xml /config/decisionserverconsole_application.xml

COPY ${ODMDOCKERDIR}/decisionserver/decisionserverruntime/config/application.xml /config
RUN mv /config/application.xml /config/decisionserverruntime_application.xml

COPY ${ODMDOCKERDIR}/standalone/config /config
COPY ${ODMDOCKERDIR}/standalone/script $SCRIPT

COPY $ODMDOCKERDIR/common/security /config/resources/security
COPY $ODMDOCKERDIR/common/script $SCRIPT
COPY $ODMDOCKERDIR/common/features $SCRIPT

# Begin - Configuration for the database
# Install the driver for H2 and for PostgreSQL
RUN wget -nv http://central.maven.org/maven2/com/h2database/h2/1.4.196/h2-1.4.196.jar && mv h2* /config/resources && \
    wget -nv https://jdbc.postgresql.org/download/postgresql-42.1.4.jar && mv postgres* /config/resources
# End - Configuration for the database

ENV CONNECTION_POOL_SIZE 20
ENV SCRIPT /script
RUN chmod -R a+x $SCRIPT

# Sample DB
ADD ${ODMDOCKERDIR}/standalone/data.tar.gz /upload/

# Decision Center
COPY ./teamserver/applicationservers/WLP855/teamserver.war $APPS
COPY ./teamserver/applicationservers/WLP855/decisioncenter*.war $APPS/
{'fraction_non_alphanumeric': 0.10425077178817382, 'fraction_numerical': 0.013773450486820233, 'mean_word_length': 5.622641509433962, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 26}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '731568', 'n_tokens_mistral': 1484, 'n_tokens_neox': 1357, 'n_words': 299}