We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9dca4e commit dddaae8Copy full SHA for dddaae8
Dockerfile
@@ -1,7 +1,7 @@
1
FROM php:8.2
2
3
# Update Container
4
-RUN apt-get update -y && apt-get install -y openssl zip unzip git
+RUN apt-get update -y && apt-get install -y openssl zip unzip git curl
5
6
# Get Composer
7
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
@@ -17,8 +17,9 @@ COPY . /app
17
# Install Composer Dependencies
18
RUN composer install --no-dev --prefer-dist --no-interaction --no-progress
19
20
-# Install NPM
21
-RUN apt-get install -y npm
+# Install NodeJS
+RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
22
+RUN apt-get install -y nodejs
23
24
# Install NPM Dependencies
25
RUN npm install
0 commit comments