Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: fixing dockerfile for api

Andreje78091dc5198
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index 669f73ff2..e5c062335 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -19,13 +19,14 @@ COPY packages/typescript-config ./packages/typescript-config
COPY apps/api ./apps/api
FROM oven/bun:1-alpine AS runtime
-WORKDIR /app
+WORKDIR /app/apps/api
-COPY --from=base /app ./
+COPY --from=base /app/apps/api ./
+COPY --from=base /app/node_modules ../node_modules
+COPY --from=base /app/packages ../packages
ENV NODE_ENV=production
-WORKDIR /app/apps/api
EXPOSE 1337
-CMD ["bun", "run", "src/index.ts"]
\ No newline at end of file
+CMD ["bun", "run", "/app/apps/api/src/index.ts"]
\ No newline at end of file