Commit dd87bc73 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix deploy version and remove unnecessary lines from Dockerfiles

parent 509a796d
Pipeline #35034 passed with stages
in 3 minutes and 16 seconds
#FROM hseeberger/scala-sbt:8u252_1.3.12_2.13.2 AS build
FROM hseeberger/scala-sbt:11.0.8_1.4.1_2.13.3 as build
ADD . /
WORKDIR /
RUN sbt clean
RUN sbt stage
# Build deployable Docker image
#FROM openjdk:8-jre-alpine
FROM amd64/adoptopenjdk:11-jre
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
WORKDIR /app
CMD ./start.process.sh
CMD ./start.process.sh
\ No newline at end of file
tag: "latest"
k8sEnvironment: prod
k8sReplicas: 1
......
tag: "latest"
k8sEnvironment: stage
k8sReplicas: 1
......
tag: "latest"
k8sEnvironment: test
k8sReplicas: 1
......
registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/externalapis/oai"
tag: placeholder
tag: "latest"
k8sName: oai
k8sNamespace: memobase
......
Markdown is supported
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