Dockerfile in rest-ftp-daemon-1.0.2 vs Dockerfile in rest-ftp-daemon-1.0.3
- old
+ new
@@ -1,8 +1,8 @@
# Docker headers
FROM ruby:2.3.0-slim
-MAINTAINER Bruno MEDICI <opensource@bmconseil.com>
+MAINTAINER Bruno MEDICI <rest-ftp-daemon@bmconseil.com>
# Environment
ENV LANG=C.UTF-8
ENV INSTALL_PATH /app/
@@ -16,17 +16,17 @@
# Change to INSTALL_PATH and install base packages
WORKDIR $INSTALL_PATH
ADD Gemfile $INSTALL_PATH
ADD Gemfile.lock $INSTALL_PATH
-ADD *.gemspec $INSTALL_PATH
+ADD rest-ftp-daemon.gemspec $INSTALL_PATH
RUN bundle install --system --without="development test" -j4
# Install app code
RUN mkdir -p $INSTALL_PATH
ADD . $INSTALL_PATH
# App run
EXPOSE 3000
-CMD ["bin/*", "-c", "/etc/rftpd.yml", "-f", "start"]
+CMD ["bin/rest-ftp-daemon", "-c", "/etc/rftpd.yml", "-f", "start"]