resolve imports
This commit is contained in:
@@ -17,6 +17,10 @@ FROM node:22-alpine
|
|||||||
RUN corepack enable && apk add --no-cache nginx wget unzip ca-certificates
|
RUN corepack enable && apk add --no-cache nginx wget unzip ca-certificates
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/frontend/build ./frontend/build
|
COPY --from=builder /app/frontend/build ./frontend/build
|
||||||
|
# adapter-node externalizes runtime deps (pocketbase, chart.js, qrcode, …), so
|
||||||
|
# the frontend's pnpm node_modules (symlinks into the root .pnpm store) must be
|
||||||
|
# present in the image too, or Node fails with ERR_MODULE_NOT_FOUND.
|
||||||
|
#COPY --from=builder /app/frontend/node_modules ./frontend/node_modules
|
||||||
COPY --from=builder /app/proxy/dist ./proxy/dist
|
COPY --from=builder /app/proxy/dist ./proxy/dist
|
||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
COPY --from=builder /app/pnpm-lock.yaml ./
|
COPY --from=builder /app/pnpm-lock.yaml ./
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { enhance } from '$app/forms';
|
import { enhance } from '$app/forms';
|
||||||
import { Footer } from '$lib/components';
|
import Footer from '$lib/components/Footer.svelte';
|
||||||
import type { Action, SubmitFunction } from './$types';
|
import type { Action, SubmitFunction } from './$types';
|
||||||
|
|
||||||
let email = $state('');
|
let email = $state('');
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { AuthShell } from '$lib/components';
|
import AuthShell from '$lib/components/AuthShell.svelte';
|
||||||
|
|
||||||
let { form } = $props();
|
let { form } = $props();
|
||||||
let name = $state('');
|
let name = $state('');
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { page } from '$app/state';
|
import { page } from '$app/state';
|
||||||
import { enhance } from '$app/forms';
|
import { enhance } from '$app/forms';
|
||||||
import { AuthShell } from '$lib/components';
|
import AuthShell from '$lib/components/AuthShell.svelte';
|
||||||
|
|
||||||
let { form } = $props();
|
let { form } = $props();
|
||||||
let memberName = $derived(page.params.member);
|
let memberName = $derived(page.params.member);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { AuthShell } from '$lib/components';
|
import AuthShell from '$lib/components/AuthShell.svelte';
|
||||||
|
|
||||||
let { form } = $props();
|
let { form } = $props();
|
||||||
let email = $state('');
|
let email = $state('');
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { AuthShell } from '$lib/components';
|
import AuthShell from '$lib/components/AuthShell.svelte';
|
||||||
|
|
||||||
let { form } = $props();
|
let { form } = $props();
|
||||||
let email = $state('');
|
let email = $state('');
|
||||||
|
|||||||
Reference in New Issue
Block a user