We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6673349 commit 0108462Copy full SHA for 0108462
Dockerfile
@@ -1,5 +1,8 @@
1
+# Build arguments
2
+ARG SOURCE_REGISTRY
3
+
4
# build stage
-FROM node:22-alpine3.20 as build-stage
5
+FROM ${SOURCE_REGISTRY}node:22-alpine3.20 as build-stage
6
RUN apk -U upgrade
7
WORKDIR /app
8
COPY package*.json ./
@@ -8,7 +11,7 @@ COPY ./ .
11
RUN npm run build
9
12
10
13
# production stage
-FROM nginx:1.26.0-alpine as production-stage
14
+FROM ${SOURCE_REGISTRY}nginx:1.26.0-alpine as production-stage
15
RUN apk -U upgrade && \
16
mkdir /app
17
COPY --from=build-stage /app/dist /app
0 commit comments