-
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.
- Loading branch information
Showing
5 changed files
with
216 additions
and
167 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea | ||
*.rbc | ||
capybara-*.html | ||
/log | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
2.7.3 | ||
3.0.6 |
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,21 @@ | ||
FROM ruby:2.7.3 | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - | ||
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev postgresql-client npm | ||
RUN npm install -g yarn n | ||
|
||
# To install the specific version of Node.js | ||
RUN n 12.16 | ||
RUN apt purge -y npm && apt autoremove -y | ||
|
||
WORKDIR /app | ||
|
||
ADD Gemfile Gemfile | ||
ADD Gemfile.lock Gemfile.lock | ||
RUN bundle install | ||
|
||
ADD package.json package.json | ||
RUN yarn | ||
|
||
ADD . /app | ||
RUN yarn dev-build |
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
Oops, something went wrong.