roysathome.net/auth/docker/Dockerfile

15 lines
249 B
Docker

FROM ruby:3.2.2
WORKDIR /roysathome/
RUN apt-get update && apt-get install -y git
RUN git clone https://git.roysathome.net/joseph/roysathome.net.git .
WORKDIR ./auth
# Stage 2: Final image with Ruby
RUN bundle install
CMD ["ruby","./auth.rb"]