Sha256: 93eb4b2b05f868c6e6b6a8ab7207c4f468bb58204f0f5e6b198fb7fb6daea1c6
Contents?: true
Size: 1014 Bytes
Versions: 21
Compression:
Stored size: 1014 Bytes
Contents
FROM neeto/ruby-3.2.2:node18.12 ENV APP_PATH /var/app ENV BUNDLE_VERSION 2.2.32 ENV RAILS_PORT 3000 ENV LAUNCHY_DRY_RUN true ENV BROWSER /dev/null ENV BUNDLE_PATH /usr/local/bundle ENV GEM_PATH /usr/local/bundle ENV GEM_HOME /usr/local/bundle COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh RUN chmod +x /usr/local/bin/docker-entrypoint.sh # install dependencies for M1 Macs RUN apk add --update --no-cache curl py-pip python3 # install dependencies for application RUN apk -U add --no-cache \ make \ gcc \ build-base \ git \ postgresql-dev \ postgresql-client \ libxml2-dev \ libxslt-dev \ nodejs-current \ npm \ yarn \ tzdata \ && rm -rf /var/cache/apk/* \ && mkdir -p $APP_PATH RUN gem install bundler --version "$BUNDLE_VERSION" # navigate to app directory WORKDIR $APP_PATH COPY Gemfile Gemfile.common.rb Gemfile.lock ./ COPY package.json yarn.lock ./ RUN bundle check || bundle install --jobs=8 RUN yarn install --check-files COPY . . EXPOSE $RAILS_PORT
Version data entries
21 entries across 21 versions & 1 rubygems