Refactoring

This commit is contained in:
2025-01-17 20:38:24 -06:00
parent 540b38de30
commit ab56211602
68 changed files with 3201 additions and 2616 deletions

View File

@@ -1,11 +1,8 @@
# 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
FROM --platform=linux/amd64 node:18-alpine
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
AzureFunctionsJobHost__Logging__Console__IsEnabled=true
COPY ./node_modules ./node_modules
COPY ./dist ./dist
COPY . /home/site/wwwroot
EXPOSE 3000
RUN cd /home/site/wwwroot && \
npm install
CMD ["node", "dist/main.js"]