mobile api changes + docker image basics
This commit is contained in:
@@ -58,3 +58,24 @@ EXPOSE 80
|
||||
# Default command
|
||||
CMD ["apachectl", "-D", "FOREGROUND"]
|
||||
|
||||
ADD data/cutlerimagecontent.tar.gz /var/www/html/
|
||||
RUN mv /var/www/html/fitness_web /var/www/html/cutler
|
||||
ADD config /config
|
||||
#overwrite configs
|
||||
RUN find /config/common/ -maxdepth 2 -type f -name '*-local.php' -exec cp {} /var/www/html/cutler/common/config/ \; \
|
||||
&& find /config/backend/ -maxdepth 2 -type f -name '*-local.php' -exec cp {} /var/www/html/cutler/backend/config/ \; \
|
||||
&& find /config/frontend/ -maxdepth 2 -type f -name '*-local.php' -exec cp {} /var/www/html/cutler/frontend/config/ \; \
|
||||
&& find /config/console/ -maxdepth 2 -type f -name '*-local.php' -exec cp {} /var/www/html/cutler/console/config/ \; \
|
||||
&& find /config/mobileapi/ -maxdepth 2 -type f -name '*-local.php' -exec cp {} /var/www/html/cutler/mobileapi/config/ \; \
|
||||
&& find /config/rest/ -maxdepth 2 -type f -name '*-local.php' -exec cp {} /var/www/html/cutler/rest/config/ \;
|
||||
|
||||
|
||||
ENV FITNESS_DB_HOST ""
|
||||
ENV FITNESS_DB_NAME ""
|
||||
ENV FITNESS_DB_PORT ""
|
||||
ENV FITNESS_DB_USERNAME ""
|
||||
ENV FITNESS_DB_PASSWORD ""
|
||||
ENV FITNESS_MAIL_HOST ""
|
||||
ENV FITNESS_MAIL_PORT ""
|
||||
ENV FITNESS_MAIL_USERNAME ""
|
||||
ENV FITNESS_MAIL_PASSWORD ""
|
||||
|
||||
Reference in New Issue
Block a user