saucy/Dockerfile

18 lines
301 B
Docker
Raw Permalink Normal View History

2024-11-07 14:49:13 +00:00
FROM ruby:3.3.5-alpine AS builder
2022-07-16 10:27:56 +00:00
RUN apk add build-base libpq-dev tzdata
WORKDIR /app
ADD Gemfile* ./
RUN bundle
ADD . ./
2024-03-28 11:35:38 +00:00
2024-11-07 14:49:13 +00:00
FROM ruby:3.3.5-alpine
2024-03-28 11:35:38 +00:00
RUN apk add libpq tzdata
COPY --from=builder /usr/local/bundle/ /usr/local/bundle/
COPY --from=builder /app /app
WORKDIR /app
2022-07-16 10:27:56 +00:00
CMD ["./entrypoint.sh"]