Sha256: 2da0ada724f7eab55403ff9e204eac8bb01f2d940f9c598adf40fb339c5bf4a4

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

ARG RUBY_VERSION=3.0
ARG DISTRO=bullseye

FROM ruby:$RUBY_VERSION-$DISTRO

ARG NODE_MAJOR=18

RUN mkdir -p /app
ENV HOME /app
WORKDIR /app

ENV GEM_HOME $HOME/vendor/bundle
ENV BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH ./bin:$GEM_HOME/bin:$PATH
RUN (echo 'docker'; echo 'docker') | passwd root

# Rails wants a newer version of node than we get with the Debian distro.
RUN curl -fsSL https://deb.nodesource.com/setup_$NODE_MAJOR.x | bash - && apt-get install -y nodejs
RUN corepack enable && corepack prepare yarn@stable --activate
RUN apt install -y -q sqlite3

EXPOSE 3000

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap_form-5.4.0 Dockerfile