Skip to content

Commit 8ed99fb

Browse files
committed
update compose
1 parent 1391654 commit 8ed99fb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ COPY . .
1313

1414
RUN bun run build
1515

16+
WORKDIR /app/apps/server
17+
RUN bunx gel project init --non-interactive
18+
1619
FROM oven/bun:1.1.17-alpine
1720

1821
WORKDIR /app
@@ -22,6 +25,10 @@ COPY --from=builder /app/apps/server/src/dbschema ./apps/server/src/dbschema
2225
COPY --from=builder /app/apps/server/gel.toml ./apps/server/gel.toml
2326
COPY --from=builder /app/apps/client/dist ./apps/client/dist
2427

28+
# CD into server app and run gel project initial setup
29+
30+
31+
2532
ENV NODE_ENV=production
2633
ENV PUBLIC_DIR=/app/apps/client/dist
2734

0 commit comments

Comments
 (0)