Added Dockerfile.

This commit is contained in:
imi415 2022-07-25 00:59:12 +08:00
parent 68b832529b
commit 773e50f4d9
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
2 changed files with 12 additions and 0 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
/vendor/bundle
/.env
/ssl

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM 'ruby:3.1.0'
COPY . /app
WORKDIR /app
RUN bundle
CMD ["ruby", "src/server.rb"]