diff --git a/.containerignore b/.containerignore new file mode 100644 index 0000000..b553f46 --- /dev/null +++ b/.containerignore @@ -0,0 +1,10 @@ +.git +.gitignore +Dockerfile* +README.md +LICENSE +*.yaml +statefile +spool +vendor +init diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..72a7786 --- /dev/null +++ b/Containerfile @@ -0,0 +1,14 @@ +FROM ruby:3.1.2 + +WORKDIR /srv/ +RUN mkdir /srv/stevefolder +WORKDIR /srv/stevefolder + +COPY Gemfile Gemfile +COPY Gemfile.lock Gemfile.lock +COPY . . +RUN mkdir spool + +RUN bundle install + +ENTRYPOINT ["ruby", "main.rb"]