This commit is contained in:
parent
1cd38b6cba
commit
7b4fb70172
@ -1,5 +1,5 @@
|
|||||||
# ── Stage 1: build ───────────────────────────────────────────────────────────
|
# ── Stage 1: build ───────────────────────────────────────────────────────────
|
||||||
FROM node:20-alpine AS builder
|
FROM harbor.dvirlabs.com/base-images/node:20-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# ── Stage 2: serve ───────────────────────────────────────────────────────────
|
# ── Stage 2: serve ───────────────────────────────────────────────────────────
|
||||||
FROM nginx:1.27-alpine AS runner
|
FROM harbor.dvirlabs.com/base-images/nginx:1.27-alpine AS runner
|
||||||
|
|
||||||
# Remove default nginx config
|
# Remove default nginx config
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
RUN rm /etc/nginx/conf.d/default.conf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user