Skip to content

Add multi-stage Docker build for sc-user service - #11

Merged
karadyaur merged 1 commit into
mainfrom
codex/replace-dockerfile-with-multi-stage-build
Sep 29, 2025
Merged

Add multi-stage Docker build for sc-user service#11
karadyaur merged 1 commit into
mainfrom
codex/replace-dockerfile-with-multi-stage-build

Conversation

@karadyaur

Copy link
Copy Markdown
Owner

Summary

  • replace the sc-user Dockerfile with a multi-stage build that compiles the service binary and migrate CLI before copying only the runtime artifacts into an Alpine image
  • update the entrypoint script to run migrations using the DB_SOURCE environment variable before starting the compiled binary

Testing

  • not run (not requested)

https://chatgpt.com/codex/tasks/task_e_68da8e6b1c588329a04c67ed5efb2217

@karadyaur
karadyaur merged commit 97bb8b0 into main Sep 29, 2025
1 of 2 checks passed
@karadyaur
karadyaur deleted the codex/replace-dockerfile-with-multi-stage-build branch September 29, 2025 13:55
@karadyaur karadyaur added bug Something isn't working and removed codex labels Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant