Skip to content

Commit

Permalink
fix: remove adopted extension
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Apr 16, 2024
1 parent 781fdeb commit fa3203e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ RUN npm ci
COPY ./src/extensions/endpoints/adoption-code .
RUN npm run build

# Build hooks/adopted-probe
FROM node:18-alpine AS builder-09
WORKDIR /builder/src/extensions/lib
ADD ./src/extensions/lib/package.json ./src/extensions/lib/package-lock.json ./
RUN npm ci
COPY ./src/extensions/lib .
WORKDIR /builder/src/extensions/hooks/adopted-probe
ADD ./src/extensions/hooks/adopted-probe/package.json ./src/extensions/hooks/adopted-probe/package-lock.json ./
RUN npm ci
COPY ./src/extensions/hooks/adopted-probe .
RUN npm run build
# # Build hooks/adopted-probe
# FROM node:18-alpine AS builder-09
# WORKDIR /builder/src/extensions/lib
# ADD ./src/extensions/lib/package.json ./src/extensions/lib/package-lock.json ./
# RUN npm ci
# COPY ./src/extensions/lib .
# WORKDIR /builder/src/extensions/hooks/adopted-probe
# ADD ./src/extensions/hooks/adopted-probe/package.json ./src/extensions/hooks/adopted-probe/package-lock.json ./
# RUN npm ci
# COPY ./src/extensions/hooks/adopted-probe .
# RUN npm run build

# Build hooks/sign-in
FROM node:18-alpine AS builder-10
Expand Down Expand Up @@ -169,7 +169,7 @@ COPY --from=builder-05 /builder/src/extensions/operations/gh-webhook-handler/dis
COPY --from=builder-06 /builder/src/extensions/operations/sponsors-cron-handler/dist/* /directus/extensions/operations/sponsors-cron-handler/
COPY --from=builder-07 /builder/src/extensions/modules/probes-adapter/dist/* /directus/extensions/modules/probes-adapter/
COPY --from=builder-08 /builder/src/extensions/endpoints/adoption-code/dist/* /directus/extensions/endpoints/adoption-code/
COPY --from=builder-09 /builder/src/extensions/hooks/adopted-probe/dist/* /directus/extensions/hooks/adopted-probe/
# COPY --from=builder-09 /builder/src/extensions/hooks/adopted-probe/dist/* /directus/extensions/hooks/adopted-probe/
COPY --from=builder-10 /builder/src/extensions/hooks/sign-in/dist/* /directus/extensions/hooks/sign-in/
COPY --from=builder-11 /builder/src/extensions/endpoints/sync-github-data/dist/* /directus/extensions/endpoints/sync-github-data/
COPY --from=builder-12 /builder/src/extensions/interfaces/github-username/dist/* /directus/extensions/interfaces/github-username/
Expand Down

0 comments on commit fa3203e

Please sign in to comment.