Add CI/CD workflow and use Harbor cache for base images
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m24s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m24s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Multi-stage build for React Awards Map
|
# Multi-stage build for React Awards Map
|
||||||
FROM node:20-alpine AS frontend-builder
|
FROM harbor.scottyah.com/dockerhub-cache/library/node:20-alpine AS frontend-builder
|
||||||
|
|
||||||
WORKDIR /app/frontend
|
WORKDIR /app/frontend
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ COPY frontend/ ./
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM node:20-alpine
|
FROM harbor.scottyah.com/dockerhub-cache/library/node:20-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user