fix: Update Dockerfiles to use git.spdy.io registry
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Build stage
|
# Build stage
|
||||||
# Image: code.cannabrands.app/creationshop/dispensary-scraper
|
# Image: git.spdy.io/creationshop/dispensary-scraper
|
||||||
FROM code.cannabrands.app/creationshop/node:20-slim AS builder
|
FROM git.spdy.io/creationshop/node:20-slim AS builder
|
||||||
|
|
||||||
# Install build tools for native modules (bcrypt, sharp)
|
# Install build tools for native modules (bcrypt, sharp)
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
@@ -27,7 +27,7 @@ RUN npm run build
|
|||||||
RUN npm prune --production
|
RUN npm prune --production
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM code.cannabrands.app/creationshop/node:20-slim
|
FROM git.spdy.io/creationshop/node:20-slim
|
||||||
|
|
||||||
# Build arguments for version info
|
# Build arguments for version info
|
||||||
ARG APP_BUILD_VERSION=dev
|
ARG APP_BUILD_VERSION=dev
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Build stage
|
# Build stage
|
||||||
FROM code.cannabrands.app/creationshop/node:20-slim AS builder
|
FROM git.spdy.io/creationshop/node:20-slim AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM code.cannabrands.app/creationshop/nginx:alpine
|
FROM git.spdy.io/creationshop/nginx:alpine
|
||||||
|
|
||||||
# Copy built assets from builder stage
|
# Copy built assets from builder stage
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Build stage
|
# Build stage
|
||||||
FROM code.cannabrands.app/creationshop/node:20-slim AS builder
|
FROM git.spdy.io/creationshop/node:20-slim AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM code.cannabrands.app/creationshop/nginx:alpine
|
FROM git.spdy.io/creationshop/nginx:alpine
|
||||||
|
|
||||||
# Copy built assets from builder stage (CRA outputs to /build)
|
# Copy built assets from builder stage (CRA outputs to /build)
|
||||||
COPY --from=builder /app/build /usr/share/nginx/html
|
COPY --from=builder /app/build /usr/share/nginx/html
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Build stage
|
# Build stage
|
||||||
FROM code.cannabrands.app/creationshop/node:20-slim AS builder
|
FROM git.spdy.io/creationshop/node:20-slim AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM code.cannabrands.app/creationshop/nginx:alpine
|
FROM git.spdy.io/creationshop/nginx:alpine
|
||||||
|
|
||||||
# Copy built assets from builder stage (CRA outputs to /build)
|
# Copy built assets from builder stage (CRA outputs to /build)
|
||||||
COPY --from=builder /app/build /usr/share/nginx/html
|
COPY --from=builder /app/build /usr/share/nginx/html
|
||||||
|
|||||||
Reference in New Issue
Block a user