Make encryption key configurable in docker (#1189)

This commit is contained in:
jekkos
2017-03-19 11:04:07 +01:00
parent 5cb8141641
commit 68883230e8

View File

@@ -14,7 +14,7 @@ RUN echo -e “$(hostname -i)\t$(hostname) $(hostname).localhost” >> /etc/host
WORKDIR /app
COPY . /app
RUN ln -s /app/*[^public] /var/www && rm -rf /var/www/html && ln -nsf /app/public /var/www/html
RUN chmod 755 /app/public/uploads && chown -R www-data:www-data /app/public/uploads
RUN chmod 755 /app/public/uploads && chown -R www-data:www-data /app/public/uploads && chown www-data:www-data /app/application/config/config.php
RUN cp application/config/database.php.tmpl application/config/database.php && \
sed -i -e "s/\(localhost\)/web/g" test/ospos.js && \