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

Version Path
neeto-commons-backend-1.0.109 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.108 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.107 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.106 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.105 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.104 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.103 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.102 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.101 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.100 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.99 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.98 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.97 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.96 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.95 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.94 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.93 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.92 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.91 lib/neeto_commons_backend/common_files/Dockerfile.dev
neeto-commons-backend-1.0.90 lib/neeto_commons_backend/common_files/Dockerfile.dev