Parcourir la source

Dockerfile updated

Espinoza Guillermo il y a 6 ans
Parent
commit
ec762e85a2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -40,12 +40,13 @@ RUN chmod 0600 /opt/keys/*; \
     git clone git@bitbucket.org:ikflowdat/json-wsdl.git /opt/json-wsdl; \
     cd /opt/json-wsdl; \
     composer install --no-scripts --no-interaction --no-progress; \
+    composer dump-autoload; \
     chmod +x /opt/docsis.sh; \
     bash -c /opt/docsis.sh; \
     rm -rf /var/lib/apt/lists/*
     
 COPY docsis/custom_mibs /usr/share/snmp/mibs/
 
-CMD rm var/cache/* -rf ;\
+CMD rm var/cache/*/ -rf ;\
     composer run-script post-install-cmd --no-interaction ;\
     php-fpm7.0 -F -R -O