This commit is contained in:
2022-11-08 21:21:49 +01:00
parent 6e41ad636e
commit a76008af46
325 changed files with 75520 additions and 0 deletions

18
node/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM node:16-alpine
RUN mkdir -p /home/node/app/node_modules
##&& chown -R node:node /home/node/app
COPY ./frontend-react/. /home/node/app/.
WORKDIR /home/node/app
##RUN chown -R node:node
RUN ls -lisa
RUN npm install --legacy-peer-deps
RUN ls -lisa
RUN npm run build:prod
RUN ls -lisa static/frontend
##expose 8080
##CMD ["node","app.js"]