UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update docker
Dillion Verma252604075f71
diff --git a/dev.Dockerfile b/dev.Dockerfileindex 16eabcbf..145a2254 100644--- a/dev.Dockerfile+++ b/dev.Dockerfile@@ -1,5 +1,18 @@FROM node:20-alpine+ARG DATABASE_URL+ARG NEXTAUTH_SECRET+ARG NEXTAUTH_URL+ARG NEXT_PUBLIC_APP_URL+ARG RESEND_API_KEY+ARG STRIPE_API_KEY+ARG NEXT_PUBLIC_STRIPE_PAYMENT_LINK+ARG NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY_LIVE+ARG NODE_ENV+ARG SERVER_URL+ARG STRIPE_SECRET_KEY_LIVE+ARG STRIPE_WEBHOOK_SECRET+WORKDIR /app# Install dependencies based on the preferred package manager@@ -12,11 +25,15 @@ RUN \else echo "Warning: Lockfile not found. It is recommended to commit lockfiles to version control." && yarn install; \fi-COPY src ./src+COPY . .COPY public ./publicCOPY next.config.js .COPY tsconfig.json .+RUN npx prisma generate+RUN npx prisma db push++# Next.js collects completely anonymous telemetry data about general usage. Learn more here: https://nextjs.org/telemetry# Uncomment the following line to disable telemetry at run time# ENV NEXT_TELEMETRY_DISABLED 1diff --git a/docker-compose.yml b/docker-compose.ymlindex a69b672f..0b2bc9f8 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -16,7 +16,7 @@ services:- ./src:/app/src- ./public:/app/publicports:- - "3000:3000"+ - "3000:3003"environment:- DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgresenv_file:@@ -37,12 +37,6 @@ services:- .env.localports:- "5432:5432"- networks:- - my_networkvolumes:database_data:--networks:- my_network:- external: true\ No newline at end of filediff --git a/package.json b/package.jsonindex b8eba142..f63ac35f 100644--- a/package.json+++ b/package.json@@ -4,7 +4,7 @@"private": true,"scripts": {"preinstall": "npx only-allow pnpm",- "dev": "next dev -p 3003",+ "dev": "next dev","prebuild": "npm run prisma generate","build": "next build","start": "next start",