diff --git a/docker/debian-bullseye/Dockerfile.build b/docker/debian-bullseye/Dockerfile.build index 11a3ed18..d4c4a307 100644 --- a/docker/debian-bullseye/Dockerfile.build +++ b/docker/debian-bullseye/Dockerfile.build @@ -1,6 +1,6 @@ #-----------------BUILDER----------------- #----------------------------------------- -FROM node:16-bullseye AS builder +FROM node:18-bullseye AS builder COPY pigallery2-release /app WORKDIR /app RUN npm install --unsafe-perm @@ -12,7 +12,7 @@ RUN mkdir -p /app/data/config && \ #-----------------MAIN-------------------- #----------------------------------------- -FROM node:16-bullseye-slim AS main +FROM node:18-bullseye-slim 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) diff --git a/docker/debian-buster/Dockerfile.build b/docker/debian-buster/Dockerfile.build index 3052f938..28473634 100644 --- a/docker/debian-buster/Dockerfile.build +++ b/docker/debian-buster/Dockerfile.build @@ -1,6 +1,6 @@ #-----------------BUILDER----------------- #----------------------------------------- -FROM node:16-buster AS builder +FROM node:18-buster AS builder COPY pigallery2-release /app WORKDIR /app RUN npm install --unsafe-perm @@ -12,7 +12,7 @@ RUN mkdir -p /app/data/config && \ #-----------------MAIN-------------------- #----------------------------------------- -FROM node:16-buster-slim AS main +FROM node:18-buster-slim 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) diff --git a/docker/debian-buster/selfcontained/Dockerfile b/docker/debian-buster/selfcontained/Dockerfile index 113020bf..d56b2faf 100644 --- a/docker/debian-buster/selfcontained/Dockerfile +++ b/docker/debian-buster/selfcontained/Dockerfile @@ -1,6 +1,6 @@ #-----------------BUILDER----------------- #----------------------------------------- -FROM node:16-buster AS builder +FROM node:18-buster AS builder # LABEL maintainer="Patrik J. Braun" # copying only package{-lock}.json to make node_modules cachable RUN git clone https://github.com/bpatrik/pigallery2.git /build @@ -16,7 +16,7 @@ RUN npm install --unsafe-perm \ #-----------------MAIN-------------------- #----------------------------------------- -FROM node:16-buster-slim AS main +FROM node:18-buster-slim 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)