fix: node version

This commit is contained in:
chenos 2024-05-29 11:25:41 +08:00
parent 1dc7a39780
commit 818dd6f03e

View File

@ -1,4 +1,4 @@
FROM node:20-bullseye as builder
FROM node:20.13-bullseye as builder
ARG VERDACCIO_URL=http://host.docker.internal:10104/
ARG COMMIT_HASH
ARG APPEND_PRESET_LOCAL_PLUGINS
@ -43,7 +43,7 @@ RUN cd /app \
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
FROM node:20-bullseye-slim
FROM node:20.13-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