mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-11-24 08:42:24 +02:00
updating to node v18
This commit is contained in:
parent
34ba8b2fc8
commit
1ae80a29fa
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
node-version: [18.x]
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
@ -76,7 +76,7 @@ jobs:
|
||||
name: Setup Node.js for use with actions
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
-
|
||||
name: Install Deps
|
||||
run: npm install --unsafe-perm
|
||||
|
@ -1,7 +1,7 @@
|
||||
#-----------------BUILDER-----------------
|
||||
#-----------------------------------------
|
||||
FROM node:16-alpine3.17 AS builder
|
||||
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \
|
||||
FROM node:18-alpine3.16 AS builder
|
||||
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.16/community/ \
|
||||
python3 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python
|
||||
COPY pigallery2-release /app
|
||||
WORKDIR /app
|
||||
@ -14,7 +14,7 @@ RUN mkdir -p /app/data/config && \
|
||||
|
||||
#-----------------MAIN--------------------
|
||||
#-----------------------------------------
|
||||
FROM node:16-alpine3.17 AS main
|
||||
FROM node:18-alpine3.16 AS main
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production \
|
||||
# overrides only the default value of the settings (the actualy value can be overwritten through config.json)
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -121,7 +121,7 @@
|
||||
"zone.js": "0.11.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 <17.0"
|
||||
"node": ">=18 <19.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"ffmpeg-static": "5.1.0",
|
||||
|
@ -145,6 +145,6 @@
|
||||
"mysql": "2.18.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 <17.0"
|
||||
"node": ">=18 <19.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user