Created
September 20, 2018 06:49
-
-
Save wafflespeanut/4d6f5f2bccfcbeba69f14b267d69ad36 to your computer and use it in GitHub Desktop.
Dockerfile for Slate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.5-alpine | |
EXPOSE 4567 | |
RUN apk add --update nodejs g++ make git | |
RUN git clone https://github.com/lord/slate /usr/src/app | |
WORKDIR /usr/src/app | |
RUN bundle install | |
CMD ["bundle", "exec", "middleman", "server", "--watcher-force-polling"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Build image:
docker build -t slate-engine .
Spawn container: