Skip to content

Commit d70b2a3

Browse files
committed
Fix build
1 parent a468f50 commit d70b2a3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/agent-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
with:
5151
name: agent-${{ matrix.goos }}-${{ matrix.goarch }}
5252
path: agent/agent-${{ matrix.goos }}-${{ matrix.goarch }}
53+
retention-days: 1
5354

5455
release:
5556
needs: build

web/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ WORKDIR /app
99
COPY --from=deps /app/node_modules ./node_modules
1010
COPY . .
1111
ENV DATABASE_URL=postgres://build:build@localhost:5432/build
12+
ENV BETTER_AUTH_SECRET=build-secret
13+
ENV BETTER_AUTH_URL=http://localhost:3000
1214
RUN npx next build
1315

1416
FROM node:24-slim AS runner
@@ -20,7 +22,6 @@ COPY --from=builder /app/.next/static ./.next/static
2022
COPY --from=builder /app/public ./public
2123
COPY --from=builder /app/db ./db
2224
COPY --from=builder /app/drizzle.config.ts ./drizzle.config.ts
23-
COPY --from=builder /app/package.json ./package.json
2425
RUN npm install drizzle-kit drizzle-orm
2526
EXPOSE 3000
2627
CMD ["sh", "-c", "echo y | npx drizzle-kit push && node server.js"]

0 commit comments

Comments
 (0)