Use Arvan registry for frontend base images
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
# syntax=docker/dockerfile:1.7
|
||||
|
||||
FROM node:22-alpine AS build
|
||||
FROM docker.arvancloud.ir/node:22-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -16,7 +14,7 @@ ENV VITE_API_URL=${VITE_API_URL}
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM nginxinc/nginx-unprivileged:1.28-alpine AS runtime
|
||||
FROM docker.arvancloud.ir/nginxinc/nginx-unprivileged:1.28-alpine AS runtime
|
||||
|
||||
COPY --chown=nginx:nginx nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build --chown=nginx:nginx /app/dist /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user