dep updates

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2024-05-12 16:39:36 +02:00
parent 6a52e905e4
commit daa0118905
No known key found for this signature in database
GPG key ID: 02A3919EB4F67328
3 changed files with 13 additions and 12 deletions

View file

@ -1,6 +1,6 @@
FROM caddy:2.7.6 as caddy FROM caddy:2.7.6 as caddy
FROM alpine:3.19.1 FROM alpine:3.20.0
RUN apk add --no-cache ca-certificates tzdata RUN apk add --no-cache ca-certificates tzdata
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
COPY Caddyfile /etc/caddy/Caddyfile COPY Caddyfile /etc/caddy/Caddyfile

View file

@ -1,13 +1,14 @@
# syntax=docker/dockerfile:labs # syntax=docker/dockerfile:labs
FROM --platform="$BUILDPLATFORM" alpine:3.19.1 as frontend FROM --platform="$BUILDPLATFORM" alpine:3.20.0 as frontend
COPY frontend /build/frontend COPY frontend /build/frontend
COPY global/certbot-dns-plugins.json /build/frontend/certbot-dns-plugins.json COPY global/certbot-dns-plugins.json /build/frontend/certbot-dns-plugins.json
ARG NODE_ENV=production \ ARG NODE_ENV=production \
NODE_OPTIONS=--openssl-legacy-provider NODE_OPTIONS=--openssl-legacy-provider
WORKDIR /build/frontend WORKDIR /build/frontend
RUN apk upgrade --no-cache -a && \ RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates nodejs yarn git python3 build-base && \ apk add --no-cache ca-certificates nodejs yarn git python3 py3-pip build-base && \
yarn global add clean-modules && \ yarn global add clean-modules && \
pip install setuptools --no-cache-dir --break-system-packages && \
yarn --no-lockfile install && \ yarn --no-lockfile install && \
clean-modules --yes && \ clean-modules --yes && \
yarn --no-lockfile build && \ yarn --no-lockfile build && \
@ -16,7 +17,7 @@ COPY darkmode.css /build/frontend/dist/css/darkmode.css
COPY security.txt /build/frontend/dist/.well-known/security.txt COPY security.txt /build/frontend/dist/.well-known/security.txt
FROM --platform="$BUILDPLATFORM" alpine:3.19.1 as backend FROM --platform="$BUILDPLATFORM" alpine:3.20.0 as backend
SHELL ["/bin/ash", "-eo", "pipefail", "-c"] SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
COPY backend /build/backend COPY backend /build/backend
COPY global/certbot-dns-plugins.json /build/backend/certbot-dns-plugins.json COPY global/certbot-dns-plugins.json /build/backend/certbot-dns-plugins.json
@ -35,7 +36,7 @@ RUN apk upgrade --no-cache -a && \
yarn cache clean --all yarn cache clean --all
FROM --platform="$BUILDPLATFORM" alpine:3.19.1 as crowdsec FROM --platform="$BUILDPLATFORM" alpine:3.20.0 as crowdsec
SHELL ["/bin/ash", "-eo", "pipefail", "-c"] SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG CSNB_VER=v1.0.8 ARG CSNB_VER=v1.0.8
@ -64,8 +65,8 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG CRS_VER=v4.2.0 ARG CRS_VER=v4.2.0
COPY rootfs / COPY rootfs /
COPY --from=zoeyvid/certbot-docker:34 /usr/local /usr/local COPY --from=zoeyvid/certbot-docker:35 /usr/local /usr/local
COPY --from=zoeyvid/curl-quic:384 /usr/local/bin/curl /usr/local/bin/curl COPY --from=zoeyvid/curl-quic:388 /usr/local/bin/curl /usr/local/bin/curl
RUN apk upgrade --no-cache -a && \ RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini \ apk add --no-cache ca-certificates tzdata tini \

View file

@ -4,7 +4,7 @@
"description": "A beautiful interface for creating Nginx endpoints", "description": "A beautiful interface for creating Nginx endpoints",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@apidevtools/json-schema-ref-parser": "11.6.1", "@apidevtools/json-schema-ref-parser": "11.6.2",
"ajv": "6.12.6", "ajv": "6.12.6",
"archiver": "7.0.1", "archiver": "7.0.1",
"batchflow": "0.4.0", "batchflow": "0.4.0",
@ -16,7 +16,7 @@
"gravatar": "1.8.2", "gravatar": "1.8.2",
"jsonwebtoken": "9.0.2", "jsonwebtoken": "9.0.2",
"knex": "3.1.0", "knex": "3.1.0",
"liquidjs": "10.12.0", "liquidjs": "10.13.0",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "2.30.1", "moment": "2.30.1",
"mysql": "2.18.1", "mysql": "2.18.1",
@ -29,11 +29,11 @@
"author": "Jamie Curnow <jc@jc21.com> and ZoeyVid <zoeyvid@zvcdn.de>", "author": "Jamie Curnow <jc@jc21.com> and ZoeyVid <zoeyvid@zvcdn.de>",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@eslint/js": "9.2.0", "@eslint/js": "9.3.0",
"eslint": "9.2.0", "eslint": "9.3.0",
"eslint-config-prettier": "9.1.0", "eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3", "eslint-plugin-prettier": "5.1.3",
"globals": "15.2.0", "globals": "15.3.0",
"prettier": "3.2.5" "prettier": "3.2.5"
} }
} }