diff --git a/build/Dockerfile b/build/Dockerfile index e1be1f0..388e3f8 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -8,10 +8,11 @@ ARG COMPOSER_VERSION='' # composer version number like "2.1" or empty for the la COPY start-container /usr/local/bin/start-container RUN export DEBIAN_FRONTEND=noninteractive \ - && export NVM_DIR="/home/laravel/.nvm"\ && apt-get -y update \ && apt-get install -y curl php php-xml php-curl php-xml php-mbstring \ && useradd --create-home --uid=$USER_UID $USERNAME \ + && export NVM_DIR="/home/laravel/.nvm" \ + && mkdir $NVM_DIR \ && chmod +x /usr/local/bin/start-container \ && echo "install nvm and node" \ && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash \