Sha256: 2b5b5c294c855599c49c409e4f65ae5ddb5097b3c3303a9892a355851a9a319f
Contents?: true
Size: 780 Bytes
Versions: 5
Compression:
Stored size: 780 Bytes
Contents
# syntax = docker/dockerfile:1 # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile ARG RUBY_VERSION=3.3.5 FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base RUN apt-get update -qq && \ apt-get install --no-install-recommends -y build-essential git pkg-config nodejs npm curl libsqlite3-0 RUN npm install --global yarn ENV RAILS_ENV="development" \ BUNDLE_PATH="/usr/local/bundle" # Rails app lives here WORKDIR /rails # Install gems and javascript packages COPY Gemfile . RUN bundle install COPY package.json . RUN yarn install FROM ghcr.io/geobtaa/geoblacklight_admin:base AS app # Add application code COPY . . # Run the server script by default, this can be overwritten at runtime EXPOSE 3000 CMD ["sh", "start-server"]
Version data entries
5 entries across 5 versions & 1 rubygems