From cd133d72ec887df50f7a9ce27ea541f2d945484f Mon Sep 17 00:00:00 2001 From: June Date: Tue, 17 Feb 2026 19:09:38 +1300 Subject: [PATCH] docker dev genuinely sucks so fucking bad --- Dockerfile | 5 +++++ compose.yaml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2341cf5..7685379 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,11 @@ RUN pnpm install --frozen-lockfile # Copy built application from builder COPY --from=builder /app/build ./build +# Copy drizzle config and schema for migrations +COPY drizzle.config.ts ./ +COPY tsconfig.json ./ +COPY src/lib/server/db ./src/lib/server/db + # Install netcat for database readiness check RUN apk add --no-cache netcat-openbsd diff --git a/compose.yaml b/compose.yaml index 1ba4f66..f6909c9 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,8 +2,8 @@ services: db: image: postgres restart: always - # ports: - # - 5432:5432 + ports: + - 5432:5432 environment: POSTGRES_USER: root POSTGRES_PASSWORD: mysecretpassword