Skip to content

update : refactor dockerfile - #26

Open
Crosstons wants to merge 1 commit into
akave-ai:ts-migrationfrom
Crosstons:docker-modifications
Open

update : refactor dockerfile#26
Crosstons wants to merge 1 commit into
akave-ai:ts-migrationfrom
Crosstons:docker-modifications

Conversation

@Crosstons

Copy link
Copy Markdown

Dockerfile Refinements for Improved Builds

This PR addresses issue #22
Updates:

  • Now we have separate stages for compiling Go and setting up Node.js/TypeScript. This keeps our runtime image neat and minimal.

  • TypeScript is compiled only if needed, enhancing flexibility.

  • The final image is based on Alpine Linux and stripped of unnecessary build artifacts, reducing its size and improving security.

  • The server will run from compiled JavaScript if available, with a fallback to the source directory.

@Crosstons Crosstons changed the title update : Refactor Dockerfile update : refactor dockerfile Feb 1, 2025
@Crosstons
Crosstons changed the base branch from main to ts-migration February 3, 2025 05:21
@Crosstons

Copy link
Copy Markdown
Author

@Abhay-2811 I have updated the PR to ts-migration branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant