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 . /
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
RUN apk add --no-cache nss
#VOLUME /updateDir
#VOLUME /deleteDir
#VOLUME /base
RUN chown -R 497:497 /app
USER 497:497
CMD ./
#!/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 {
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