sapo-videos/Dockerfile
2023-07-28 12:00:41 +01:00

20 lines
285 B
Docker

FROM ruby:alpine
RUN apk add make gcc libc-dev
WORKDIR /app
ADD gems.rb gems.locked ./
RUN bundle
ADD config.ru ./
ADD *.rb ./
ADD index.html.erb ./
WORKDIR /app/public
ADD saca-sapos ./
RUN tar czf saca-sapos.tar.gz saca-sapos
WORKDIR /app
EXPOSE 4567
CMD ["puma", "-p", "4567"]