nomad

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

commit bf09c23bef2a88e0103c12a90e3d8b17fabbd49e
parent 81fc16a777eca705add0863cdb7a88a74620f877
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Thu, 20 Apr 2023 23:43:25 +0200

feat: rename myheats-demo dockerfiles

Diffstat:
Cdocker/docker-myheats/Dockerfile -> docker/docker-myheats-demo/Dockerfile | 0
Mdocker/docker-myheats/Dockerfile | 21++++++---------------
2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/docker/docker-myheats/Dockerfile b/docker/docker-myheats-demo/Dockerfile diff --git a/docker/docker-myheats/Dockerfile b/docker/docker-myheats/Dockerfile @@ -1,17 +1,8 @@ -FROM node:18-alpine +FROM docker.io/arm64v8/ruby:3 -RUN apk update -RUN apk add --no-cache git python3 make g++ musl-dev +RUN git clone --depth 1 https://git.in0rdr.ch/myheats-website.git /usr/src/app +WORKDIR /usr/src/app -WORKDIR /app -RUN git clone --depth 1 https://git.in0rdr.ch/myheats.git /app - -RUN npm ci - -ENV NODE_ENV production -ENV REACT_APP_DOC_TITLE 'My Heats' -ENV REACT_APP_SUPABASE_KEY 'changeme' - -EXPOSE 3000 - -CMD [ "npm", "start" ] +RUN bundle config set path 'vendor/bundle' +RUN bundle install +CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--port", "4000"]