Files
bbs-server/Dockerfile
Zsolt Tasnadi ac77420888 Pin Gemfile.lock; restore proper Docker cache invalidation
Docker can't detect external git changes — Gemfile.lock change is
the signal. Workflow: after pushing rubbs, run bundle update bbs
and commit the new Gemfile.lock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 10:07:06 +02:00

18 lines
235 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 ./
COPY lib/ ./lib/
RUN mkdir -p /app/data
EXPOSE 2323
CMD ["bundle", "exec", "ruby", "bbs.rb"]