Add Docker and Travis config files to enable CI tests
Also fixes some Rails 6.0 deprecation warnings
This commit is contained in:
9
config/docker/danbooru-ci
Normal file
9
config/docker/danbooru-ci
Normal file
@@ -0,0 +1,9 @@
|
||||
# This sets up a docker container suitable for use with Travis CI
|
||||
|
||||
FROM r888888888/danbooru-base
|
||||
|
||||
USER root
|
||||
COPY . /app
|
||||
RUN chown -R danbooru:danbooru .
|
||||
USER danbooru
|
||||
RUN bundle install > /dev/null
|
||||
Reference in New Issue
Block a user