Merge pull request #11 from cartsnitch/fix/ghcr-mirror-base-images

Switch Dockerfile base images to GHCR mirror
This commit is contained in:
chip-overstock[bot]
2026-03-18 18:52:27 +00:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -52,7 +52,6 @@ jobs:
- uses: actions/checkout@v4
- name: Log in to GHCR
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
+2 -2
View File
@@ -1,5 +1,5 @@
# Stage 1: Build
FROM node:20-alpine AS build
FROM ghcr.io/cartsnitch/mirror/node:20-alpine AS build
WORKDIR /app
@@ -10,7 +10,7 @@ COPY . .
RUN npm run build
# Stage 2: Production
FROM nginx:stable-alpine AS prod
FROM ghcr.io/cartsnitch/mirror/nginx:stable-alpine AS prod
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf