Skip to content

Instantly share code, notes, and snippets.

@autotrof
Created March 10, 2024 23:54
Show Gist options
  • Save autotrof/a1b25ec6bb2650458dc7adfcde9bf9ae to your computer and use it in GitHub Desktop.
Save autotrof/a1b25ec6bb2650458dc7adfcde9bf9ae to your computer and use it in GitHub Desktop.
docker web with nodejs. php 7.3, nginx, nodejs 10, yarn, etc
FROM webdevops/php-nginx:7.3
RUN apt update
RUN apt install curl procps nano -y
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs
RUN npm i -g yarn
WORKDIR /app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment