Docker config update
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user