forked from dejan/rails_panel
-
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
11 changed files
with
134 additions
and
57 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
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
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
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,35 @@ | ||
FROM ruby:3.0-alpine | ||
|
||
RUN apk add --update --no-cache \ | ||
build-base \ | ||
curl-dev \ | ||
git \ | ||
nodejs \ | ||
shared-mime-info \ | ||
sqlite-dev \ | ||
tzdata \ | ||
yaml-dev \ | ||
yarn \ | ||
zlib-dev | ||
|
||
RUN mkdir /app /gem | ||
WORKDIR /app | ||
|
||
RUN gem update --system | ||
RUN gem install rails -v 7.0.4 | ||
RUN rails new . | ||
|
||
COPY . /gem | ||
RUN bundle add meta_request --path /gem | ||
RUN bundle install | ||
|
||
COPY res/routes.rb /app/config/ | ||
COPY res/dummy_controller.rb /app/app/controllers/ | ||
COPY res/dummy /app/app/views/dummy | ||
COPY res/meta_request_test.rb /app/test/integration/ | ||
|
||
RUN bundle exec rails db:migrate | ||
|
||
ENV PARALLEL_WORKERS 1 | ||
|
||
CMD ["bin/rake"] |
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
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