chore: dockerfile from node:18-slim
This commit is contained in:
parent
1e870cf5ef
commit
943fc75653
@ -1,4 +1,4 @@
|
|||||||
FROM node:16-stretch-slim as builder
|
FROM node:18-slim as builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ RUN cd /app \
|
|||||||
&& find ./my-nocobase-app/node_modules/china-division/dist -name '*.sqlite' -delete \
|
&& find ./my-nocobase-app/node_modules/china-division/dist -name '*.sqlite' -delete \
|
||||||
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
|
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
|
||||||
|
|
||||||
FROM node:16-stretch-slim
|
FROM node:18-slim
|
||||||
|
|
||||||
# COPY ./sources.list /etc/apt/sources.list
|
# COPY ./sources.list /etc/apt/sources.list
|
||||||
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
|
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user