Compare commits

..

6 Commits

Author SHA1 Message Date
Henry
28d7d55deb chore: update readme 2025-06-14 22:48:46 +01:00
Henry
af273a103f fix: remove external from kan-network 2025-06-14 22:22:50 +01:00
Henry
f6659368e1 fix: allow empty strings for optional envs 2025-06-13 23:39:50 +01:00
Henry
607ce3b814 chore: tidy .env.example 2025-06-13 23:38:44 +01:00
Henry
feca755b8b feat: run migrations via entrypoint 2025-06-13 23:38:15 +01:00
Henry
2b3eef8c63 feat: add postgres to docker compose 2025-06-13 23:37:40 +01:00

View File

@@ -53,14 +53,8 @@ RUN --mount=type=cache,id=pnpm,target=~/.pnpm-store pnpm install --frozen-lockfi
# Copy source code of isolated subworkspace
COPY --from=pruner /app/out/full/ .
RUN pnpm build --filter=${PROJECT}
# Copy static files to standalone directory
RUN mkdir -p apps/web/.next/standalone/.next && \
mv apps/web/public apps/web/.next/standalone/ && \
mv apps/web/.next/static apps/web/.next/standalone/.next/
# 4. Final image - runner stage to run the application
FROM base AS runner
ARG APP_DIRNAME
@@ -81,5 +75,5 @@ ARG PORT=3000
ENV PORT=${PORT}
EXPOSE ${PORT}
CMD ["/bin/sh", "./entrypoint.sh"]
CMD ["./entrypoint.sh"]