summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..bda4038
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,18 @@
+FROM ruby:3.0
+
+RUN apt update
+RUN apt install -y make gcc g++ ruby-dev ruby-bundler git thin
+
+COPY . /var/www/security
+
+WORKDIR /var/www/security/data
+
+RUN git clone https://anongit.gentoo.org/git/data/glsa.git
+
+EXPOSE 9995
+
+WORKDIR /var/www/security
+
+RUN bundle install --deployment
+
+CMD bundle exec thin -p 9995 start