diff --git a/php.dockerfile b/php.dockerfile index 5243277..15e352c 100644 --- a/php.dockerfile +++ b/php.dockerfile @@ -3,10 +3,10 @@ FROM php:7.0-apache #for frontend config ENV REACT_APP_TEST_URL=http://localhost:8000/api-wiaas \ REACT_APP_PROD_URL=http://localhost:8000/api-wiaas \ - REACT_APP_DEV_URL=http://legacy.wiaas.saburly.com/api-wiaas + REACT_APP_DEV_URL=http://localhost:8000/api-wiaas #for api-wiaas config -ENV WIAAS_URL=http://legacy.wiaas.saburly.com +ENV WIAAS_URL=http://localhost:8000 ENV DB_SERVER=db \ DB_NAME=ricoh_dash \ @@ -45,7 +45,7 @@ COPY api-wiaas /home/wiaas/api-wiaas COPY client-wiaas /home/wiaas/client-wiaas WORKDIR /home/wiaas/api-wiaas/ -RUN composer install +RUN composer update WORKDIR /home/wiaas RUN cp -r api-wiaas /var/www/html/