fix: dockerfile package scope renaming
This commit is contained in:
@@ -33,10 +33,10 @@ COPY packages ./packages
|
|||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# Generate SvelteKit type definitions (creates .svelte-kit/tsconfig.json)
|
# Generate SvelteKit type definitions (creates .svelte-kit/tsconfig.json)
|
||||||
RUN pnpm --filter @sexy.pivoine.art/frontend exec svelte-kit sync
|
RUN pnpm --filter @sexy/frontend exec svelte-kit sync
|
||||||
|
|
||||||
# Build frontend
|
# Build frontend
|
||||||
RUN pnpm --filter @sexy.pivoine.art/frontend build
|
RUN pnpm --filter @sexy/frontend build
|
||||||
|
|
||||||
# Prune dev dependencies for production
|
# Prune dev dependencies for production
|
||||||
RUN CI=true pnpm install -rP
|
RUN CI=true pnpm install -rP
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ COPY packages/buttplug/package.json ./packages/buttplug/package.json
|
|||||||
COPY packages/types/package.json ./packages/types/package.json
|
COPY packages/types/package.json ./packages/types/package.json
|
||||||
COPY packages/email/package.json ./packages/email/package.json
|
COPY packages/email/package.json ./packages/email/package.json
|
||||||
|
|
||||||
RUN pnpm install --frozen-lockfile --filter @sexy.pivoine.art/backend --filter @sexy.pivoine.art/email --ignore-scripts
|
RUN pnpm install --frozen-lockfile --filter @sexy/backend --filter @sexy/email --ignore-scripts
|
||||||
|
|
||||||
# Rebuild native bindings (argon2, sharp)
|
# Rebuild native bindings (argon2, sharp)
|
||||||
RUN pnpm rebuild argon2 sharp
|
RUN pnpm rebuild argon2 sharp
|
||||||
@@ -27,11 +27,11 @@ COPY packages/types ./packages/types
|
|||||||
COPY packages/email ./packages/email
|
COPY packages/email ./packages/email
|
||||||
COPY packages/backend ./packages/backend
|
COPY packages/backend ./packages/backend
|
||||||
|
|
||||||
RUN pnpm --filter @sexy.pivoine.art/email build
|
RUN pnpm --filter @sexy/email build
|
||||||
|
|
||||||
RUN pnpm --filter @sexy.pivoine.art/backend build
|
RUN pnpm --filter @sexy/backend build
|
||||||
|
|
||||||
RUN CI=true pnpm install --frozen-lockfile --filter @sexy.pivoine.art/backend --prod --ignore-scripts
|
RUN CI=true pnpm install --frozen-lockfile --filter @sexy/backend --prod --ignore-scripts
|
||||||
|
|
||||||
RUN pnpm rebuild argon2 sharp
|
RUN pnpm rebuild argon2 sharp
|
||||||
|
|
||||||
|
|||||||
@@ -35,14 +35,14 @@ COPY pnpm-workspace.yaml package.json pnpm-lock.yaml ./
|
|||||||
COPY packages/buttplug ./packages/buttplug
|
COPY packages/buttplug ./packages/buttplug
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN pnpm install --frozen-lockfile --filter @sexy.pivoine.art/buttplug
|
RUN pnpm install --frozen-lockfile --filter @sexy/buttplug
|
||||||
|
|
||||||
# Build WASM
|
# Build WASM
|
||||||
RUN RUSTFLAGS='--cfg getrandom_backend="wasm_js" --cfg=web_sys_unstable_apis' \
|
RUN RUSTFLAGS='--cfg getrandom_backend="wasm_js" --cfg=web_sys_unstable_apis' \
|
||||||
pnpm --filter @sexy.pivoine.art/buttplug build:wasm
|
pnpm --filter @sexy/buttplug build:wasm
|
||||||
|
|
||||||
# Build TypeScript
|
# Build TypeScript
|
||||||
RUN pnpm --filter @sexy.pivoine.art/buttplug build
|
RUN pnpm --filter @sexy/buttplug build
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# Runner stage - nginx serving dist/ and wasm/
|
# Runner stage - nginx serving dist/ and wasm/
|
||||||
|
|||||||
Reference in New Issue
Block a user