Add dockerfiles
This commit is contained in:
parent
5a10cead6b
commit
b5516e7d82
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
/videos/
|
||||
/videos.db
|
||||
/.gitignore
|
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user