Skip to content

Commit c5ccc2f

Browse files
author
Jérôme Desseaux
committed
soving python issue when using INSTALL_NODE=true and VueJS with Laravel.
1 parent 34ef36c commit c5ccc2f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

env-example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,4 +322,3 @@ PHP_IDE_CONFIG=serverName=laradock
322322
# Fix for windows users to make sure the application path works.
323323

324324
COMPOSE_CONVERT_WINDOWS_PATHS=1
325-

workspace/Dockerfile-71

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ ENV PGID ${PGID}
5252

5353
RUN groupadd -g ${PGID} laradock && \
5454
useradd -u ${PUID} -g laradock -m laradock && \
55-
apt-get update -yqq
55+
apt-get update -yqq \
56+
apt-get install -y python2.7
5657

5758
#####################################
5859
# SOAP:
@@ -682,7 +683,8 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \
682683
# Clean up
683684
USER root
684685
RUN apt-get clean && \
685-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
686+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
687+
npm config set python /usr/bin/python2.7
686688

687689
# Set default work directory
688690
WORKDIR /var/www

0 commit comments

Comments
 (0)