mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
Update node to v18
This commit is contained in:
parent
8adacf3bd3
commit
00e351ed78
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:17.9.1-bullseye-slim
|
||||
FROM node:18.12.0-bullseye-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y tini git build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
|
||||
|
||||
|
@ -20,7 +20,7 @@ RUN if [ $enable_mecab -ne 0 ]; then apt-get update \
|
|||
COPY . /ai
|
||||
|
||||
WORKDIR /ai
|
||||
RUN npm install && npm run build
|
||||
RUN yarn install && yarn build
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD node --experimental-fetch ./built
|
||||
CMD yarn start
|
||||
|
|
Loading…
Reference in a new issue