Dockerfile in rest-ftp-daemon-1.0.15 vs Dockerfile in rest-ftp-daemon-1.1.0

- old
+ new

@@ -18,12 +18,12 @@ # Change to INSTALL_PATH and install base packages RUN mkdir -p $INSTALL_PATH WORKDIR $INSTALL_PATH -ADD Gemfile $INSTALL_PATH -ADD rest-ftp-daemon.gemspec $INSTALL_PATH +ADD Gemfile Gemfile.lock $INSTALL_PATH +ADD rest-ftp-daemon.gemspec $INSTALL_PATH RUN bundle install --system --without="development test" -j4 # Install app code # ADD $CODE_ARCHIVE /tmp/$CODE_ARCHIVE @@ -32,6 +32,6 @@ ADD . $INSTALL_PATH # App run EXPOSE 3000 -CMD ["bin/rest-ftp-daemon", "-e", "docker", "-c", "/etc/rftpd.yml", "-f", "start"] +CMD ["bundle", "exec", "bin/rest-ftp-daemon", "-e", "docker", "-c", "/config.yml", "-f", "start"]