2023-07-28 09:37:52 +00:00
|
|
|
FROM ruby:alpine
|
|
|
|
|
|
|
|
RUN apk add make gcc libc-dev
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
ADD gems.rb gems.locked ./
|
|
|
|
RUN bundle
|
|
|
|
|
2023-07-28 10:11:05 +00:00
|
|
|
ADD config.ru ./
|
2023-07-28 09:37:52 +00:00
|
|
|
ADD *.rb ./
|
|
|
|
ADD index.html.erb ./
|
|
|
|
ADD saca-sapos ./
|
|
|
|
|
|
|
|
EXPOSE 4567
|
2023-07-28 10:09:23 +00:00
|
|
|
CMD ["puma", "-p", "4567"]
|