mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls-ui.git
synced 2025-11-02 03:27:53 +00:00
@@ -1,9 +1,9 @@
|
|||||||
FROM node:14-alpine3.14 AS build
|
FROM node:18.7.0-alpine3.15 AS build
|
||||||
COPY package.json package-lock.json /
|
COPY package.json package-lock.json /
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx:1.21.4-alpine AS runtime
|
FROM nginx:1.22.0-alpine AS runtime
|
||||||
COPY --from=build /build/ /usr/share/nginx/html/
|
COPY --from=build /build/ /usr/share/nginx/html/
|
||||||
COPY --from=build docker-entrypoint.d/40-generate-config.sh /docker-entrypoint.d/40-generate-config.sh
|
COPY --from=build docker-entrypoint.d/40-generate-config.sh /docker-entrypoint.d/40-generate-config.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user