forked from ToolJet/ToolJet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Separate docker file for development (ToolJet#250)
* new dockerfile for development * reference the development dockerfile in docker-compose * remove explicit RAILS_ENV=production in development dockerfile
- Loading branch information
1 parent
960b0bb
commit 2329311
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
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"] |