mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
15 lines
275 B
Docker
15 lines
275 B
Docker
FROM ruby:2.7.3-buster
|
|
|
|
RUN apt update && apt install -y \
|
|
build-essential \
|
|
postgresql
|
|
|
|
RUN mkdir -p /app
|
|
WORKDIR /app
|
|
|
|
COPY Gemfile Gemfile.lock ./
|
|
RUN gem install bundler && RAILS_ENV=production bundle install --jobs 20 --retry 5
|
|
|
|
ENV RAILS_ENV=production
|
|
|
|
COPY . ./
|