From c5ccc2f4ff26adce44ce98373b951ff14eae3f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Desseaux?= Date: Sun, 12 Nov 2017 11:04:57 +0100 Subject: [PATCH] soving python issue when using INSTALL_NODE=true and VueJS with Laravel. --- env-example | 1 - workspace/Dockerfile-71 | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/env-example b/env-example index 5d082ab9..14c047dc 100644 --- a/env-example +++ b/env-example @@ -322,4 +322,3 @@ PHP_IDE_CONFIG=serverName=laradock # Fix for windows users to make sure the application path works. COMPOSE_CONVERT_WINDOWS_PATHS=1 - diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 6fe59915..b745eaf8 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -52,7 +52,8 @@ ENV PGID ${PGID} RUN groupadd -g ${PGID} laradock && \ useradd -u ${PUID} -g laradock -m laradock && \ - apt-get update -yqq + apt-get update -yqq \ + apt-get install -y python2.7 ##################################### # SOAP: @@ -682,7 +683,8 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \ # Clean up USER root RUN apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ + npm config set python /usr/bin/python2.7 # Set default work directory WORKDIR /var/www