nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit b42370ddfc9c1bb2ece74ba41ba143f176dc96f4
parent ac09c8919dc05a47b8e35a5a0691d6723c614390
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Mon, 26 Feb 2024 20:16:34 +0100

feat: add hivedav website Dockerfile

Diffstat:
Cdocker/docker-hivedav/Dockerfile -> docker/docker-hivedav-demo/Dockerfile | 0
Mdocker/docker-hivedav/Dockerfile | 17++++++-----------
2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/docker/docker-hivedav/Dockerfile b/docker/docker-hivedav-demo/Dockerfile diff --git a/docker/docker-hivedav/Dockerfile b/docker/docker-hivedav/Dockerfile @@ -1,13 +1,8 @@ -FROM docker.io/arm64v8/golang:1.21-alpine3.17 +FROM docker.io/arm64v8/ruby:3 -RUN apk update -RUN apk add --no-cache git make g++ musl-dev tzdata +RUN git clone --depth 1 https://git.in0rdr.ch/hivedav-website.git /usr/src/app +WORKDIR /usr/src/app -ENV TZ=Europe/Zurich -WORKDIR /app -RUN git clone --depth 1 https://git.in0rdr.ch/hivedav.git /app -RUN make - -EXPOSE 3737/tcp - -CMD [ "./hivedav" ] +RUN bundle config set path 'vendor/bundle' +RUN bundle install +CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--port", "4000"]