fix: use node:18-bullseye (#3178)
This commit is contained in:
parent
e9e2e73efe
commit
005a3806e7
@ -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
|
||||
|
@ -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)" \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user