Dockerfile 417 Bytes
Newer Older
1
FROM java:8
2
ADD javarunner.sh /services/
akafred's avatar
akafred committed
3
ADD ./build/libs/services-1.0-SNAPSHOT-standalone.jar /services/
4
WORKDIR /services
5
6
7
8
9
10
11
12
13
CMD /services/javarunner.sh \
    -DKOHA_PORT="$KOHA_PORT" \
    -DKOHA_USER="$KOHA_USER" \
    -DKOHA_PASSWORD="$KOHA_PASSWORD" \
    -DFUSEKI_PORT="$FUSEKI_PORT" \
    -DDATA_BASEURI="$DATA_BASEURI" \
    -Done-jar.silent=true \
    -jar \
    /services/services-1.0-SNAPSHOT-standalone.jar