fix(docker): use absolute tsconfig.json path for tsc
tsc -p /app does not resolve to tsconfig.json at /app/tsconfig.json without an explicit filename. Pass the full path. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY packages/ packages/
|
||||
COPY src/ src/
|
||||
RUN pnpm --filter @groombook/types build && \
|
||||
pnpm --filter @groombook/db build && \
|
||||
/app/node_modules/.bin/tsc -p /app
|
||||
/app/node_modules/.bin/tsc -p /app/tsconfig.json
|
||||
|
||||
# Runtime
|
||||
FROM node:20-alpine AS runner
|
||||
|
||||
Reference in New Issue
Block a user