commit c9df32b7243c0cea7f5e70a946dcbae82e0c1db8
parent 6e8cab833d01d93198f5f4fb0296654997ea3a38
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sun, 8 Sep 2024 14:01:21 +0200
feat(p0c-website): add Dockerfile
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/docker/docker-p0c/Dockerfile b/docker/docker-p0c/Dockerfile
@@ -0,0 +1,8 @@
+FROM docker.io/arm64v8/ruby:3.2
+
+RUN git clone --depth 1 https://git.in0rdr.ch/p0c-website.git /usr/src/app
+WORKDIR /usr/src/app
+
+RUN bundle config set path 'vendor/bundle'
+RUN bundle install
+CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--port", "4000"]