Dockerfile in lex-conditioner-0.2.3 vs Dockerfile in lex-conditioner-0.2.5
- old
+ new
@@ -1,10 +1,8 @@
-FROM ruby:2.7-alpine
+FROM legionio/legion:latest
LABEL maintainer="Matthew Iverson <matthewdiverson@gmail.com>"
-RUN mkdir /etc/legionio
-RUN apk update && apk add build-base tzdata gcc git
+RUN apk update && apk add build-base tzdata postgresql-dev mysql-client mariadb-dev tzdata gcc git
COPY . ./
-RUN gem install legionio tzinfo-data tzinfo --no-document --no-prerelease
-RUN gem install lex-conditioner --no-document --no-prerelease
-CMD legionio
+RUN gem install lex-conditioner legion-data --no-document --no-prerelease
+CMD ruby $(which legionio)