multiple AI projects changes:

TTS and WebUI related
This commit is contained in:
Dobromir Popov
2023-12-19 20:15:23 +02:00
parent ba9389e7b0
commit 2657f02455
8 changed files with 48 additions and 3868 deletions

View File

@ -56,18 +56,23 @@
# oriiginal
FROM node:current-alpine
# current-alpine
ENV NODE_ENV=production
WORKDIR /app
# RUN npm install -g npm@9.6.2
ENV NODE_ENV=demo
# RUN apk update && apk add bash
RUN apk update && apk add git
RUN npm install -g npm@latest
WORKDIR /app
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
# RUN npm install --production --silent
# && mv node_modules ../
COPY . .
RUN npm install
EXPOSE 8080 8081
RUN chown -R node /app
# RUN npm install dalai
#RUN chown -R node /app
#USER node
USER node
CMD ["npm", "start"]
# CMD ["npm", "start"]
CMD ["npm", "run", "start:demo"]