1
0
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:
Patrik J. Braun 2022-11-29 21:52:26 +01:00
parent 34ba8b2fc8
commit 1ae80a29fa
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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
View File

@ -121,7 +121,7 @@
"zone.js": "0.11.5"
},
"engines": {
"node": ">=16 <17.0"
"node": ">=18 <19.0"
},
"optionalDependencies": {
"ffmpeg-static": "5.1.0",

View File

@ -145,6 +145,6 @@
"mysql": "2.18.1"
},
"engines": {
"node": ">=16 <17.0"
"node": ">=18 <19.0"
}
}