mobile api changes + docker image basics

This commit is contained in:
Schneider Roland
2022-06-11 21:05:19 +02:00
parent 7e5efc2c7f
commit 067fc72ce4
207 changed files with 3803 additions and 130 deletions

View File

@@ -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 ""