Skip to content

Commit

Permalink
production build
Browse files Browse the repository at this point in the history
  • Loading branch information
bourdakos1 committed Feb 3, 2020
1 parent 39a334b commit b9ed9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ ENV LANGUAGE en_US.UTF-8
ADD . /tmp/jekyll-site
WORKDIR /tmp/jekyll-site
RUN bundle install
RUN bundle exec jekyll build
RUN JEKYLL_ENV=production bundle exec jekyll build
RUN cp /tmp/jekyll-site/nginx/default.conf /etc/nginx/conf.d/default.conf
RUN cp -r /tmp/jekyll-site/_site/* /usr/share/nginx/html

0 comments on commit b9ed9db

Please sign in to comment.