soving python issue when using INSTALL_NODE=true and VueJS with Laravel.

This commit is contained in:
Jérôme Desseaux 2017-11-12 11:04:57 +01:00
parent 34ef36cd7e
commit c5ccc2f4ff
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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