|
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
|
|
|
|
EXPOSE 4567
|
|
|
|
CMD ["ruby","./auth.rb", "-p","4567"]
|