Skip to content

Commit

Permalink
Copy configs
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito committed Apr 17, 2019
1 parent 931fa0c commit c412eef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ ENV HOME /root
RUN echo "deb http://packages.laboratoriopublico.org/publiclab/ stretch main" > /etc/apt/sources.list.d/publiclab.list

# Obtain key
RUN mkdir ~/.gnupg
RUN echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf
RUN apt-key adv --keyserver hkps.pool.sks-keyservers.net --recv-keys BF26EE05EA6A68F0

# Install dependencies
Expand All @@ -36,4 +34,11 @@ COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
COPY start.sh /app/start.sh

# Add default configs
COPY config/database.yml.example /app/config/database.yml
COPY config/config.yml.example /app/config/config.yml
COPY config/initializers/recaptcha.rb.example /app/config/initializers/recaptcha.rb
COPY config/amazon_s3.yml.example /app/config/amazon_s3.yml


CMD [ "sh", "start.sh" ]

0 comments on commit c412eef

Please sign in to comment.