mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
19 lines
325 B
Text
19 lines
325 B
Text
|
|
FROM ruby:2.7.3-buster
|
||
|
|
|
||
|
|
RUN apt update && apt install -y \
|
||
|
|
build-essential \
|
||
|
|
postgresql \
|
||
|
|
freetds-dev
|
||
|
|
|
||
|
|
RUN mkdir -p /app
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
COPY Gemfile Gemfile.lock ./
|
||
|
|
RUN gem install bundler && bundle install --jobs 20 --retry 5
|
||
|
|
|
||
|
|
ENV RAILS_ENV=development
|
||
|
|
|
||
|
|
COPY . ./
|
||
|
|
|
||
|
|
RUN ["chmod", "755", "docker/entrypoints/server.sh"]
|