mirror of
https://github.com/requarks/wiki.git
synced 2026-08-26 13:17:10 -05:00
refactor: update docker images to Node 24 and fix promisify calls
This commit is contained in:
@@ -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,7 +1,7 @@
|
||||
# -- DEV DOCKERFILE --
|
||||
# -- DO NOT USE IN PRODUCTION! --
|
||||
|
||||
FROM node:18
|
||||
FROM node:24
|
||||
LABEL maintainer "requarks.io"
|
||||
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user