diff --git a/Dockerfile b/Dockerfile index 8ba038b..aa7e897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Multistage build to reduce image size and increase security -FROM node:16-buster-slim AS build +FROM node:16-bullseye-slim AS build # Install requirements to clone repository and install deps RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git @@ -21,7 +21,7 @@ RUN npm install --production \ && bower install --allow-root # Create actual cryptpad image -FROM node:16-buster-slim +FROM node:16-bullseye-slim # Create user and group for cryptpad so it does not run as root RUN groupadd cryptpad -g 4001 diff --git a/Dockerfile-nginx b/Dockerfile-nginx index b0dbad1..8d35e36 100644 --- a/Dockerfile-nginx +++ b/Dockerfile-nginx @@ -1,6 +1,6 @@ # Multistage build to reduce image size and increase security -FROM node:16-buster-slim AS build +FROM node:16-bullseye-slim AS build # Install requirements to clone repository and install deps RUN apt-get update \ @@ -18,7 +18,7 @@ RUN npm install --production \ && bower install --allow-root # Create actual cryptpad image -FROM node:16-buster-slim +FROM node:16-bullseye-slim RUN set -x \ # Create users and groups for cryptpad