mirror of
https://github.com/placeholder-soft/prodigyapi.git
synced 2026-01-12 22:44:57 +08:00
* add Dockerfile add Dockerfile * Update Dockerfile Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
22 lines
325 B
Docker
22 lines
325 B
Docker
FROM ruby:2.5-alpine
|
|
|
|
RUN apk --no-cache add \
|
|
g++ \
|
|
gcc \
|
|
libc-dev \
|
|
make \
|
|
nodejs \
|
|
&& gem install bundler
|
|
|
|
WORKDIR /srv/slate
|
|
|
|
COPY . /srv/slate
|
|
|
|
RUN bundle install
|
|
|
|
VOLUME /srv/slate/source
|
|
|
|
EXPOSE 4567
|
|
|
|
CMD ["bundle", "exec", "middleman", "server", "--watcher-force-polling"]
|