Fix node version

This commit is contained in:
Sidharth Vinod
2023-07-27 14:46:13 +05:30
parent 49bf28b1a2
commit 62a5012efd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
# Stop : press ctrl + c # Stop : press ctrl + c
# or # or
# docker stop mermaid-live-editor # docker stop mermaid-live-editor
FROM node:20.5.0 as mermaid-live-editor-builder FROM node:18.17.0 as mermaid-live-editor-builder
COPY --chown=node:node . /home COPY --chown=node:node . /home
WORKDIR /home WORKDIR /home
RUN yarn install RUN yarn install
+2 -2
View File
@@ -1,8 +1,8 @@
FROM node:20 FROM node:18.17.0
WORKDIR /app WORKDIR /app
COPY package.json . COPY package.json .
COPY yarn.lock . COPY yarn.lock .
RUN npm install RUN npm install
COPY . . COPY . .
RUN ls RUN ls
CMD ["yarn", "dev"] CMD ["yarn", "dev"]