mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
Merge pull request #48 from na2na-p/topic/upgrade-nodev18
Topic/upgrade nodev18
This commit is contained in:
commit
02685bfc2e
3 changed files with 4 additions and 4 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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"_v": "1.5.0",
|
||||
"_v": "1.5.1",
|
||||
"main": "./built/index.js",
|
||||
"scripts": {
|
||||
"start": "node ./built",
|
||||
|
|
Loading…
Reference in a new issue