Update 'build/Dockerfile'
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
2023-03-16 11:47:58 +01:00
parent 8ccf90e4e4
commit 0c6cdd26fb

View File

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