add containerfile
This commit is contained in:
parent
4e5ad353a4
commit
bc8f144d93
10
.containerignore
Normal file
10
.containerignore
Normal file
@ -0,0 +1,10 @@
|
||||
.git
|
||||
.gitignore
|
||||
Dockerfile*
|
||||
README.md
|
||||
LICENSE
|
||||
*.yaml
|
||||
statefile
|
||||
spool
|
||||
vendor
|
||||
init
|
14
Containerfile
Normal file
14
Containerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user