mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
341 B
24 lines
341 B
FROM ruby:4.0.1-alpine
|
|
|
|
ENV RAILS_ENV=test
|
|
ENV NODE_ENV=test
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk add --no-cache \
|
|
build-base \
|
|
git \
|
|
libpq-dev \
|
|
yaml-dev \
|
|
nodejs \
|
|
yarn \
|
|
vips-dev
|
|
|
|
COPY Gemfile Gemfile.lock ./
|
|
RUN bundle install --jobs 4 --retry 3
|
|
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn install --frozen-lockfile
|
|
|
|
COPY . .
|