Add dockerfiles

This commit is contained in:
Hugo Peixoto 2023-07-28 10:37:52 +01:00
parent 5a10cead6b
commit b5516e7d82
2 changed files with 17 additions and 0 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
/videos/
/videos.db
/.gitignore

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM ruby:alpine
RUN apk add make gcc libc-dev
WORKDIR /app
ADD gems.rb gems.locked ./
RUN bundle
ADD *.rb ./
ADD index.html.erb ./
ADD saca-sapos ./
EXPOSE 4567
CMD ["bundle", "exec", "ruby", "main.rb"]