refactor: update docker images to Node 24 and fix promisify calls

This commit is contained in:
NGPixel
2026-01-03 03:03:15 -05:00
parent f68d1f60ca
commit 4eb9dabb63
21 changed files with 63 additions and 84 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
# ====================
# --- Build Assets ---
# ====================
FROM node:20-alpine AS assets
FROM node:24-alpine AS assets
RUN apk add yarn g++ make cmake python3 --no-cache
@@ -25,7 +25,7 @@ RUN yarn patch-package
# ===============
# --- Release ---
# ===============
FROM node:20-alpine
FROM node:24-alpine
LABEL maintainer="requarks.io"
RUN apk add bash curl git openssh gnupg sqlite --no-cache && \
@@ -53,4 +53,4 @@ EXPOSE 3443
# HEALTHCHECK --interval=30s --timeout=30s --start-period=30s --retries=3 CMD curl -f http://localhost:3000/healthz
CMD ["node", "server"]
CMD ["node", "--no-deprecation", "server"]
+1 -1
View File
@@ -1,7 +1,7 @@
# -- DEV DOCKERFILE --
# -- DO NOT USE IN PRODUCTION! --
FROM node:18
FROM node:24
LABEL maintainer "requarks.io"
RUN apt-get update && \
+1 -1
View File
@@ -5,7 +5,7 @@ version: "3"
services:
db:
container_name: wiki-db
image: postgres:15-alpine
image: postgres:17-alpine
environment:
POSTGRES_DB: wiki
POSTGRES_PASSWORD: wikijsrocks