mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-23 12:05:03 +00:00
Update to 4.14.0
Updates to node 16 following release notes suggestions
This commit is contained in:
parent
16f90d44f6
commit
fcf00761d3
5 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
# Multistage build to reduce image size and increase security
|
||||
FROM node:12-buster-slim AS build
|
||||
FROM node:16-buster-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:12-buster-slim
|
||||
FROM node:16-buster-slim
|
||||
|
||||
# Create user and group for cryptpad so it does not run as root
|
||||
RUN groupadd cryptpad -g 4001
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Multistage build to reduce image size and increase security
|
||||
FROM node:12-alpine AS build
|
||||
FROM node:16-alpine AS build
|
||||
|
||||
# Install requirements to clone repository and install deps
|
||||
RUN apk add --no-cache git
|
||||
|
@ -21,7 +21,7 @@ RUN npm install --production \
|
|||
&& bower install --allow-root
|
||||
|
||||
# Create actual cryptpad image
|
||||
FROM node:12-alpine
|
||||
FROM node:16-alpine
|
||||
|
||||
# Create user and group for cryptpad so it does not run as root
|
||||
RUN addgroup -g 4001 -S cryptpad \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Multistage build to reduce image size and increase security
|
||||
|
||||
FROM node:12-buster-slim AS build
|
||||
FROM node:16-buster-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:12-buster-slim
|
||||
FROM node:16-buster-slim
|
||||
|
||||
RUN set -x \
|
||||
# Create users and groups for cryptpad
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Multistage build to reduce image size and increase security
|
||||
|
||||
FROM node:12-alpine AS build
|
||||
FROM node:16-alpine AS build
|
||||
|
||||
# Install requirements to clone repository and install deps
|
||||
RUN apk add --no-cache git \
|
||||
|
@ -17,7 +17,7 @@ RUN npm install --production \
|
|||
&& bower install --allow-root
|
||||
|
||||
# Create actual cryptpad image
|
||||
FROM node:12-alpine
|
||||
FROM node:16-alpine
|
||||
|
||||
RUN set -x \
|
||||
# Create users and groups for nginx and cryptpad
|
||||
|
|
2
cryptpad
2
cryptpad
|
@ -1 +1 @@
|
|||
Subproject commit 0b78295460114c9398bd5792d7b8037e51e7079d
|
||||
Subproject commit 0513945f00070c94b5e41cfb908cbdc36733b3f2
|
Loading…
Reference in a new issue