This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user