Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Commit d3115ce

Browse files
author
Zara Kay
committed
add docker file
1 parent 55bb17e commit d3115ce

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM ruby:2.6.5
2+
3+
RUN apt-get update && apt-get install --yes \
4+
python-dev \
5+
unzip \
6+
curl
7+
8+
RUN curl --silent --output awscli-bundle.zip \
9+
https://aws-cli.s3.amazonaws.com/awscli-bundle.zip && \
10+
unzip awscli-bundle.zip && \
11+
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
12+
13+
CMD [ "bundle", "exec", "jekyll", "serve", "--host=0.0.0.0" ]
14+
15+
WORKDIR /usr/src/levelup
16+
COPY . /usr/src/levelup
17+
18+
RUN gem install bundler
19+
RUN bundle config set deployment 'true'
20+
RUN bundle install --jobs 8

0 commit comments

Comments
 (0)