Add addons and remove COPY instructions

This commit is contained in:
Adnan Abdulhussein
2016-07-12 17:18:27 -07:00
parent 69ce6f29de
commit d937010e12

View File

@@ -25,12 +25,14 @@ ENV PATH=/opt/bitnami/ruby/bin:$PATH
## STACKSMITH-END: Modifications below this line will be unchanged when regenerating
# Ruby base template
COPY Gemfile* /app/
RUN bitnami-pkg install imagemagick-6.7.5-10-3 --checksum 617e85a42c80f58c568f9bc7337e24c03e35cf4c7c22640407a7e1e16880cf88
RUN bitnami-pkg install mysql-libraries-10.1.13-0 --checksum 71ca428b619901123493503f8a99ccfa588e5afddd26e0d503a32cca1bc2a389
RUN bitnami-pkg install postgresql-libraries-9.5.3-0 --checksum d6499811161e9e97acfc3e0132a016bc2edcfd85374c9b5002359429bd8ab698
ENV BITNAMI_APP_NAME=ruby \
BITNAMI_IMAGE_VERSION=2.3.1-r1
EXPOSE 3000
WORKDIR /app
RUN bundle install
COPY . /app
CMD ["irb"]