Skip to content

Commit 4eeb3e5

Browse files
committed
set workdir to server
1 parent 6945c91 commit 4eeb3e5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ COPY --from=builder /app/apps/server/src/dbschema ./apps/server/src/dbschema
2424
COPY --from=builder /app/apps/server/gel.toml ./apps/server/gel.toml
2525
COPY --from=builder /app/apps/client/dist ./apps/client/dist
2626

27-
# CD into server app and run gel project initial setup
28-
29-
30-
3127
ENV NODE_ENV=production
3228
ENV PUBLIC_DIR=/app/apps/client/dist
3329

34-
CMD cd apps/server && bunx gel migrate && bun run start
30+
WORKDIR /apps/server
31+
32+
CMD bunx gel migrate && bun run start

0 commit comments

Comments
 (0)