This commit is contained in:
+2
-2
@@ -8,11 +8,11 @@ RUN npm ci
|
||||
FROM deps AS builder
|
||||
|
||||
COPY prisma ./prisma
|
||||
RUN npx prisma generate
|
||||
RUN EXCHANGE_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres npx prisma generate
|
||||
|
||||
COPY tsconfig.json ./
|
||||
COPY src ./src
|
||||
RUN npm run build
|
||||
RUN EXCHANGE_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres npm run build
|
||||
|
||||
FROM deps AS runtime-deps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user