Merge pull request #5 from luizpicolo/Dockerize

Added dockerfile
This commit is contained in:
Luiz F Picolo 2021-10-04 22:37:00 -04:00 committed by GitHub
commit e971aaa9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM ruby:2.7.1
WORKDIR /code
COPY . /code
RUN bundle install
EXPOSE 4567
CMD ["bundle", "exec", "rackup", "--host", "0.0.0.0", "-p", "4567"]