first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
17
base/rails/5.2.2/Dockerfile
Normal file
17
base/rails/5.2.2/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM ruby:2.5
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& cd /usr/src \
|
||||
&& gem install rails -v 5.2.2 --no-document \
|
||||
&& rails new blog --skip-bundle
|
||||
|
||||
COPY Gemfile.lock Gemfile /usr/src/blog/
|
||||
|
||||
WORKDIR /usr/src/blog
|
||||
|
||||
RUN set -ex \
|
||||
&& bundle install
|
||||
|
||||
CMD ["rails", "server", "-b", "0.0.0.0", "-p", "3000"]
|
Reference in New Issue
Block a user