Browse Source

fixing Volumes and Workdir

Ignacio Cabrera 8 years ago
parent
commit
528b60eb17
2 changed files with 3 additions and 3 deletions
  1. 2 2
      docker-compose.yml
  2. 1 1
      php-worker/Dockerfile

+ 2 - 2
docker-compose.yml

@@ -79,8 +79,8 @@ services:
     php-worker:
         build:
             context: ./php-worker
-        volumes:
-            - ../:/var/www/laravel
+        volumes_from:
+            - applications
         links:
             - workspace
 

+ 1 - 1
php-worker/Dockerfile

@@ -36,4 +36,4 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
 #
 
 RUN rm -r /var/lib/apt/lists/*
-WORKDIR /etc/supervisor/conf.d/supervisord.conf
+WORKDIR /etc/supervisor/conf.d/