Felipe c26ace97b3 Fix Dockerfile to correctly install dependencies
taken from @matthid/wayback-machine-downloader @ d75de94ac6
2024-06-26 16:51:13 +00:00

8 lines
270 B
Docker

FROM ruby:2.3
USER root
WORKDIR /build
COPY . /build
RUN cd /build && \ bundle install --gemfile=/build/Gemfile
# ENTRYPOINT [ "/usr/local/bundle/bin/wayback_machine_downloader" ]
ENTRYPOINT [ "bundle", "exec", "--gemfile=/build/Gemfile", "wayback_machine_downloader" ]