dockerfile: node:12-slim => node:14-slim
parent
c83bb6aec6
commit
6039dda5ce
|
@ -1,5 +1,5 @@
|
||||||
# build environment
|
# build environment
|
||||||
FROM node:12-slim as builder
|
FROM node:14-slim as builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY .npmrc .npmrc
|
COPY .npmrc .npmrc
|
||||||
|
@ -11,7 +11,7 @@ COPY . ./
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# production environment
|
# production environment
|
||||||
FROM node:12-slim
|
FROM node:14-slim
|
||||||
RUN printf '\n\n- Copy application files\n'
|
RUN printf '\n\n- Copy application files\n'
|
||||||
|
|
||||||
ARG APP_SUBFOLDER=cdn-admin
|
ARG APP_SUBFOLDER=cdn-admin
|
||||||
|
|
Loading…
Reference in New Issue