Explorar el Código

Dockerfile updated

Espinoza Guillermo hace 6 años
padre
commit
ec762e85a2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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