add containerfile

This commit is contained in:
stryan 2022-08-10 22:22:37 -04:00
parent 4e5ad353a4
commit bc8f144d93
2 changed files with 24 additions and 0 deletions

10
.containerignore Normal file
View File

@ -0,0 +1,10 @@
.git
.gitignore
Dockerfile*
README.md
LICENSE
*.yaml
statefile
spool
vendor
init

14
Containerfile Normal file
View File

@ -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"]