-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: kingthorin <[email protected]> Node 22 everywhere Signed-off-by: kingthorin <[email protected]>
- Loading branch information
1 parent
42343c6
commit 65dee93
Showing
6 changed files
with
1,469 additions
and
1,423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
FROM node:18 | ||
FROM node:22 | ||
|
||
COPY package-lock.json package.json /app/ | ||
COPY package-lock.json package.json /app/ | ||
|
||
WORKDIR /app | ||
|
||
RUN npm install | ||
|
||
COPY .babelrc \ | ||
.eslintrc.yml \ | ||
.nvmrc \ | ||
postcss.config.js \ | ||
webpack.common.js \ | ||
webpack.dev.js \ | ||
webpack.prod.js /app/ | ||
|
||
COPY .babelrc .eslintrc.yml .nvmrc postcss.config.js webpack.common.js webpack.dev.js webpack.prod.js /app/ | ||
|
||
COPY site/ /app/site | ||
COPY src/ /app/src | ||
|
||
RUN npm run build | ||
CMD npm run preview | ||
RUN npm run build && rm -rf /app/site/.hugo_build.lock | ||
|
||
CMD ["npm", "run", "preview"] |
Oops, something went wrong.