Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇

409 B
Raw Blame
# ©AngelaMos | 2026
# Dockerfile

FROM ruby:4.0.2-slim

RUN gem install --no-document \
      rack:3.2.6 \
      sinatra:4.2.1 \
      rackup:2.3.1 \
      webrick:1.9.2

WORKDIR /app

COPY lib /app/lib
COPY target/app.rb /app/target/app.rb
COPY target/config.ru /app/config.ru

ENV RUBYOPT="-I/app/lib"

EXPOSE 4567

USER nobody

CMD ["rackup", "--server", "webrick", "--host", "0.0.0.0", "--port", "4567"]