diff --git a/Dockerfile b/Dockerfile index 644f201..a32890d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,13 @@ FROM mcr.microsoft.com/azure-functions/node:2.0 ENV AzureWebJobsScriptRoot=/home/site/wwwroot ENV AzureFunctionsJobHost__Logging__Console__IsEnabled=true -COPY . /home/site/wwwroot \ No newline at end of file + +RUN apt-get install -y curl \ + && curl -sL https://deb.nodesource.com/setup_9.x | bash - \ + && apt-get install -y nodejs \ + && curl -L https://www.npmjs.com/install.sh | sh + +COPY . /home/site/wwwroot + +RUN cd /home/site/wwwroot && \ + npm install