mirror of
https://github.com/placeholder-soft/prodigyapi.git
synced 2026-05-29 15:37:09 +08:00
add Dockerfile (#1124)
* add Dockerfile add Dockerfile * Update Dockerfile Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
This commit is contained in:
committed by
Matthew Peveler
parent
375af3c6cc
commit
d11eb1f13c
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user