node:14-slim
parent
f5f9f7764c
commit
d926f145cc
|
@ -1,5 +1,5 @@
|
||||||
# build environment
|
# build environment
|
||||||
FROM node:16-slim as builder
|
FROM node:14-slim as builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
@ -10,7 +10,7 @@ COPY . ./
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# production environment
|
# production environment
|
||||||
FROM node:16-slim
|
FROM node:14-slim
|
||||||
ARG APP_SUBFOLDER=reverse-proxy
|
ARG APP_SUBFOLDER=reverse-proxy
|
||||||
|
|
||||||
COPY --from=builder /app/build ./application/${APP_SUBFOLDER}
|
COPY --from=builder /app/build ./application/${APP_SUBFOLDER}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue