Dockerfile 421 B

12345678910111213141516171819202122
  1. # CPEE Image
  2. FROM ruby:2.6-alpine
  3. ENV CPEE_VERSION="1.5.7"
  4. RUN apk add --no-cache --virtual .build-deps \
  5. ruby-dev \
  6. rasqal-dev \
  7. raptor2-dev \
  8. build-base \
  9. icu-dev \
  10. && gem install cpee -v $CPEE_VERSION \
  11. && apk del .build-deps \
  12. && apk add libcurl \
  13. && cpee new /cpee-server \
  14. && cpee cpui /cpee-cockpit
  15. WORKDIR /cpee-server
  16. CMD ruby server.rb -v start