Commit f5303f87 authored by Günter Hipler's avatar Günter Hipler
Browse files

simple addition to run the base implementation as container

parent a58d3e4e
FROM hseeberger/scala-sbt:8u222_1.3.5_2.13.1 AS build
ADD . /
WORKDIR /
RUN sbt clean
RUN sbt stage
# Build deployable Docker image
FROM openjdk:8-jre-alpine
COPY --from=build target/universal/stage /app/
RUN apk update
RUN apk upgrade
RUN apk add bash
#see https://github.com/docker-library/openjdk/issues/289
RUN apk add --no-cache nss
#VOLUME /updateDir
#VOLUME /deleteDir
#VOLUME /base
RUN chown -R 497:497 /app
USER 497:497
WORKDIR /app
CMD ./start.process.sh
#!/usr/bin/env bash
sbt clean
sbt stage
docker build -t "oaiservice" .
\ No newline at end of file
......@@ -2,6 +2,7 @@ include "secure"
play {
http.secret.key="Sl9aHk;Wb__x7ZblaWb4y]3;kcDPAr4>vsV[CC`;=]r1VWc=D8cSy4TBZ"
modules.enabled += "modules.ElasticsearchModule"
}
......
#!/usr/bin/env bash
./bin/oaiservicememobase > app.start.log 2>err.log
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment