Update tests and docker to Node 20 LTS (#6204)
This commit is contained in:
@@ -3,7 +3,7 @@ version: 2.1
|
|||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
working_directory: ~/outline
|
working_directory: ~/outline
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:18.12
|
- image: cimg/node:20.10
|
||||||
- image: cimg/redis:5.0
|
- image: cimg/redis:5.0
|
||||||
- image: cimg/postgres:14.2
|
- image: cimg/postgres:14.2
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ ARG APP_PATH
|
|||||||
WORKDIR $APP_PATH
|
WORKDIR $APP_PATH
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
FROM node:18-alpine AS runner
|
FROM node:20-alpine AS runner
|
||||||
|
|
||||||
RUN apk update && apk add --no-cache curl && apk add --no-cache ca-certificates
|
RUN apk update && apk add --no-cache curl && apk add --no-cache ca-certificates
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
ARG APP_PATH=/opt/outline
|
ARG APP_PATH=/opt/outline
|
||||||
FROM node:18-alpine AS deps
|
FROM node:20-alpine AS deps
|
||||||
|
|
||||||
ARG APP_PATH
|
ARG APP_PATH
|
||||||
WORKDIR $APP_PATH
|
WORKDIR $APP_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user