# To enable ssh & remote debugging on app service change the base image to the one below # FROM mcr.microsoft.com/azure-functions/node:4-node18-appservice FROM mcr.microsoft.com/azure-functions/node:4-node18 RUN /bin/cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \ echo "Asia/Tokyo" > /etc/timezone ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ AzureFunctionsJobHost__Logging__Console__IsEnabled=true RUN apt-get -y update RUN apt-get install -y \ curl \ gnupg RUN apt-get install -y nodejs WORKDIR /home/site/wwwroot RUN cd /home/site/wwwroot COPY ./ /home/site/wwwroot RUN npm install -g npm