Docker config update

This commit is contained in:
2018-03-19 17:37:12 +01:00
parent 625fd06a0f
commit e18a6262d7
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
FROM ruby:2.4.3
ENV BUILD_PACKAGES="apt-utils build-essential curl less nodejs sudo wget zsh libmysqlclient-dev ruby-serialport libserialport-dev"
ENV BUILD_PACKAGES="apt-utils build-essential curl less nodejs sudo wget zsh libmysqlclient-dev libserialport-dev cron"
# throw errors if Gemfile has been modified since Gemfile.lock
RUN \
@@ -17,4 +17,4 @@ RUN \
COPY . .
CMD ["cd /usr/src/app && ruby smartmeter.rb"]
CMD ["ruby ./smartmeter.rb"]