Skip to content
Snippets Groups Projects
Commit 6dbf4b80 authored by nimrod's avatar nimrod
Browse files

Added Dockerfile.

parent 6e3aa2e3
Branches
Tags v0.7.1
No related merge requests found
FROM hseeberger/scala-sbt as cerebro-build
COPY . /root/cerebro
RUN cd cerebro && sbt stage
FROM openjdk:jre-alpine
ARG CEREBRO_VERSION=0.7.3
COPY --from=cerebro-build /root/cerebro/target/universal/stage /opt/cerebro
RUN apk add --no-cache --update bash
WORKDIR /opt/cerebro
EXPOSE 9000
HEALTHCHECK CMD wget --quiet --spider http://localhost:9000/ || exit 1
CMD ["bin/cerebro"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment