mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-21 21:45:11 +00:00
update node to 18
This commit is contained in:
parent
9f3650b0ef
commit
70958a9f77
4 changed files with 24 additions and 9 deletions
|
@ -1 +1 @@
|
||||||
v16.14.0
|
v18.0.0
|
||||||
|
|
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -10,6 +10,16 @@
|
||||||
You should also include the user name that made the change.
|
You should also include the user name that made the change.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## 12.x.x (unreleased)
|
||||||
|
### NOTE
|
||||||
|
- From this version, Node 18.0.0 or later is required.
|
||||||
|
|
||||||
|
### Improvements
|
||||||
|
-
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
-
|
||||||
|
|
||||||
## 12.110.0 (2022/04/11)
|
## 12.110.0 (2022/04/11)
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
14
Dockerfile
14
Dockerfile
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16.14.0-alpine3.15 AS base
|
FROM node:18.0.0-alpine3.15 AS base
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
@ -11,16 +11,16 @@ FROM base AS builder
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
RUN apk add --no-cache $BUILD_DEPS && \
|
RUN apk add --no-cache $BUILD_DEPS && \
|
||||||
git submodule update --init && \
|
git submodule update --init && \
|
||||||
yarn install && \
|
yarn install && \
|
||||||
yarn build && \
|
yarn build && \
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
|
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
tini
|
tini
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,14 @@
|
||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": [
|
||||||
|
"./src/*"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"outDir": "./built",
|
"outDir": "./built",
|
||||||
|
"types": [
|
||||||
|
"node"
|
||||||
|
],
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"./node_modules/@types",
|
"./node_modules/@types",
|
||||||
"./src/@types"
|
"./src/@types"
|
||||||
|
|
Loading…
Reference in a new issue