Dockerfile in lex-health-0.1.4 vs Dockerfile in lex-health-0.1.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 postgresql-dev mysql-client mariadb-dev 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 legion-data mysql2 tzinfo-data tzinfo --no-document --no-prerelease
-RUN gem install lex-health --no-document --no-prerelease
-CMD legionio
+RUN gem install lex-health legion-data --no-document --no-prerelease
+CMD ruby $(which legionio)