Point images at harbor
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# so this image only needs to serve the built assets at its own root.
|
||||
|
||||
# ---- build stage ----
|
||||
FROM node:22-alpine AS build
|
||||
FROM harbor.bitasylum.org/dockerhub/library/node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Install deps first for layer caching. package-lock.json is committed, so use
|
||||
@@ -18,7 +18,7 @@ COPY . .
|
||||
RUN npm run build # -> /app/dist (base path /kiosk/)
|
||||
|
||||
# ---- serve stage ----
|
||||
FROM nginx:stable-alpine
|
||||
FROM harbor.bitasylum.org/dockerhub/library/nginx:stable-alpine
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user