Skip to content

Commit

Permalink
fix: Correct Dockerfile syntax for nodejs installation
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAnyx committed Jan 4, 2025
1 parent b0bb6ed commit 6350fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.3.15-apache AS base
RUN apt-get update && apt-get install -y curl gnupg
RUN curl -sL https://deb.nodesource.com/setup_22.x | bash -
&& apt-get -y install nodejs
RUN apt-get -y install nodejs
RUN npm install -g pm2
WORKDIR /var/www/html
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
Expand Down

0 comments on commit 6350fa8

Please sign in to comment.