summaryrefslogtreecommitdiffstats
path: root/docs/Dockerfile
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2023-09-30 21:12:14 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2023-09-30 21:12:14 +0100
commit9206827fc24a05812609394a8810b2a02d11d60b (patch)
tree95e4f0d8204142cb6668179bd100414652dcc6f1 /docs/Dockerfile
parentba56278ab3173b30b31c46fe4dbb571564f556e6 (diff)
Remove expired links from docs
Diffstat (limited to 'docs/Dockerfile')
-rw-r--r--docs/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/Dockerfile b/docs/Dockerfile
new file mode 100644
index 00000000..226a4f2d
--- /dev/null
+++ b/docs/Dockerfile
@@ -0,0 +1,17 @@
+FROM ruby:3.2.2
+
+RUN bundle config --global frozen 1 && \
+ mkdir -p /vendor/bundle && \
+ bundle config set --local path /vendor/bundle
+
+WORKDIR /app
+
+COPY Gemfile Gemfile.lock ./
+
+RUN bundle install
+
+COPY . .
+
+EXPOSE 4000
+
+CMD bundle exec jekyll serve --host 0.0.0.0 --port 4000 --destination /tmp/_site \ No newline at end of file