alka_99
alka_99
Explore posts from servers
DTDrizzle Team
Created by alka_99 on 6/22/2024 in #help
Cannot find package 'drizzle-orm' in sveltekit docker
This is solved
4 replies
DTDrizzle Team
Created by alka_99 on 6/22/2024 in #help
Cannot find package 'drizzle-orm' in sveltekit docker
4 replies
DTDrizzle Team
Created by alka_99 on 6/22/2024 in #help
Cannot find package 'drizzle-orm' in sveltekit docker
FROM node:20 AS builder

WORKDIR /app

COPY package*.json .
COPY pnpm-lock.yaml .

RUN npm i -g pnpm
RUN pnpm install

COPY . .

RUN pnpm run build
RUN pnpm prune --prod

FROM node:20 AS deployer

WORKDIR /app

COPY --from=builder /app/build build/
COPY --from=builder /app/package.json .

EXPOSE 3000

ENV NODE_ENV=production

CMD [ "node", "build" ]
FROM node:20 AS builder

WORKDIR /app

COPY package*.json .
COPY pnpm-lock.yaml .

RUN npm i -g pnpm
RUN pnpm install

COPY . .

RUN pnpm run build
RUN pnpm prune --prod

FROM node:20 AS deployer

WORKDIR /app

COPY --from=builder /app/build build/
COPY --from=builder /app/package.json .

EXPOSE 3000

ENV NODE_ENV=production

CMD [ "node", "build" ]
here is my docker config
4 replies
DTDrizzle Team
Created by alka_99 on 3/18/2024 in #help
Auto Increment custom id with prefix GRO
So in this article telling me that the best practice is not store the data directly like GRO0001 and use normal integer instead, but the problem is when we want to like full text search filter, etc
11 replies
DTDrizzle Team
Created by alka_99 on 3/18/2024 in #help
Auto Increment custom id with prefix GRO
I tried something like this before, the problem is, when i do logout from my dashboard the counter starting from GRO0001 again
11 replies
DTDrizzle Team
Created by alka_99 on 3/18/2024 in #help
Auto Increment custom id with prefix GRO
let me try
11 replies
DTDrizzle Team
Created by alka_99 on 3/18/2024 in #help
Auto Increment custom id with prefix GRO
trigger and functions from the supabase itself right? @Mykhailo ?
11 replies
DTDrizzle Team
Created by alka_99 on 3/18/2024 in #help
Auto Increment custom id with prefix GRO
Bump
11 replies
DTDrizzle Team
Created by alka_99 on 3/18/2024 in #help
Auto Increment custom id with prefix GRO
right now i'm trying to use custom_property_id: text('custom_property_id').default(GRO${String(Math.floor(Math.random() * 10000)).padStart(4, '0')}), but sometime same id is created especially when there is action from 2 different people.
11 replies
CDCloudflare Developers
Created by alka_99 on 2/17/2024 in #pages-help
Error: Cannot perform I/O on behalf of a different request
bump.
17 replies
CDCloudflare Developers
Created by alka_99 on 2/17/2024 in #pages-help
Error: Cannot perform I/O on behalf of a different request
i didn't get with the global scope can you elaborate more? @Cyb3r-Jok3
17 replies