18 lines
265 B
Docker
18 lines
265 B
Docker
FROM ruby:3.3-alpine
|
|
|
|
RUN apk add --no-cache git build-base
|
|
|
|
WORKDIR /app
|
|
|
|
COPY Gemfile Gemfile.lock ./
|
|
RUN bundle install
|
|
|
|
COPY bbs.rb entrypoint.sh ./
|
|
COPY lib/ ./lib/
|
|
|
|
RUN mkdir -p /app/data && chmod +x entrypoint.sh
|
|
|
|
EXPOSE 2323
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|