[add] Downloading composer dependencies
This commit is contained in:
parent
4928481f72
commit
18ee0ad333
@ -20,21 +20,10 @@ ENV APACHE_RUN_GROUP www-data
|
|||||||
ENV APACHE_LOG_DIR /var/log/apache2
|
ENV APACHE_LOG_DIR /var/log/apache2
|
||||||
ENV APACHE_LOCK_DIR /var/lock/apache2
|
ENV APACHE_LOCK_DIR /var/lock/apache2
|
||||||
|
|
||||||
# Expose apache
|
|
||||||
#EXPOSE 80
|
|
||||||
|
|
||||||
# Copy this repo into place.
|
|
||||||
#ADD . /var/www/site
|
|
||||||
WORKDIR /var/www/site
|
WORKDIR /var/www/site
|
||||||
|
|
||||||
# Testing permisions
|
COPY composer.json .
|
||||||
#RUN chmod 777 -R .
|
RUN composer install
|
||||||
|
|
||||||
# Installing dependencies
|
|
||||||
#RUN composer install
|
|
||||||
|
|
||||||
# Unit tests
|
|
||||||
#RUN composer test
|
|
||||||
|
|
||||||
# Update the default apache site with the config we created.
|
# Update the default apache site with the config we created.
|
||||||
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf
|
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user