Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pushing with custom dockerfile #9

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

andreasjansson
Copy link
Member

@andreasjansson andreasjansson commented Oct 2, 2024

Important

Add support for custom Dockerfile in push() and update model name regex in main.py.

  • Behavior:
    • push() in cog.py now accepts a dockerfile argument to specify a custom Dockerfile when pushing a model.
    • Updates cog_safe_push() in main.py to pass dockerfile to push().
    • Regex pattern in parse_model() in main.py updated to allow dots in model names.
  • Config:
    • Adds dockerfile attribute to Config class in config.py.

This description was created by Ellipsis for 07faa68. It will automatically update as commits are pushed.

@andreasjansson andreasjansson merged commit 0990308 into main Oct 2, 2024
2 checks passed
@andreasjansson andreasjansson deleted the dockerfile branch October 2, 2024 22:32
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