RACK_ENV variable added to the ruby dockerfile.

This commit is contained in:
Juan A. Fernandez
2017-12-17 11:02:25 +01:00
parent b371385baa
commit 4230ca2f48
+1 -1
View File
@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
COPY ./src/Gemfile /usr/src/app/
RUN bundle install
COPY ./src /usr/src/app
ENV RACK_ENV production
EXPOSE 80
CMD ["rackup", "config.ru", "--host", "0.0.0.0", "--port", "80"]