Commit d4312747 by Ahmet Kizilay

added docker related files

parent 50b21f3f
Pipeline #9114926 passed with stages
in 4 minutes 24 seconds
FROM ruby:2.1
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/
RUN bundle install
COPY . /usr/src/app/
EXPOSE 4000
CMD ["jekyll", "serve", "--host=0.0.0.0"]
version: '2'
services:
jekyll:
build: .
container_name: jekyll
command: jekyll serve --host=0.0.0.0
ports:
- "4000:4000"
volumes:
- .:/usr/src/app
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment