From 005a3806e7e2c9e392c8c62d739068319e4e2b81 Mon Sep 17 00:00:00 2001 From: chenos Date: Wed, 13 Dec 2023 10:28:25 +0800 Subject: [PATCH] fix: use node:18-bullseye (#3178) --- Dockerfile | 4 ++-- docker/nocobase/Dockerfile | 4 ++-- docker/nocobase/nocobase.conf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cfe07a80e..4d9789545 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 as builder +FROM node:18-bullseye as builder ARG VERDACCIO_URL=http://host.docker.internal:10104/ ARG COMMIT_HASH ARG APPEND_PRESET_LOCAL_PLUGINS @@ -41,7 +41,7 @@ RUN cd /app \ && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app . -FROM node:18-slim +FROM node:18-bullseye-slim RUN apt-get update && apt-get install -y nginx RUN rm -rf /etc/nginx/sites-enabled/default COPY ./docker/nocobase/nocobase.conf /etc/nginx/sites-enabled/nocobase.conf diff --git a/docker/nocobase/Dockerfile b/docker/nocobase/Dockerfile index f6c6bb364..d266adf62 100644 --- a/docker/nocobase/Dockerfile +++ b/docker/nocobase/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-slim as builder +FROM node:18-bullseye-slim as builder WORKDIR /app @@ -12,7 +12,7 @@ RUN cd /app \ && rm -rf nocobase.tar.gz \ && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app . -FROM node:18-slim +FROM node:18-bullseye-slim # COPY ./sources.list /etc/apt/sources.list RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ diff --git a/docker/nocobase/nocobase.conf b/docker/nocobase/nocobase.conf index ab89fa3be..d462e5be6 100644 --- a/docker/nocobase/nocobase.conf +++ b/docker/nocobase/nocobase.conf @@ -17,7 +17,7 @@ server { server_name _; root /app/nocobase/node_modules/@nocobase/app/dist/client; index index.html; - client_max_body_size 20M; + client_max_body_size 1000M; access_log /var/log/nginx/nocobase.log apm; gzip on;