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

Dockerfile improvements #56

Merged
merged 11 commits into from
Oct 25, 2024
Merged

Dockerfile improvements #56

merged 11 commits into from
Oct 25, 2024

Conversation

favyen2
Copy link
Collaborator

@favyen2 favyen2 commented Oct 22, 2024

  • Use --upgrade when installing with pip. I ran into issues with s3fs since it seems to already be installed in the base image, and was outdated. In the future we can provide version range in requirements.txt if we have time to maintain that, or we can just keep up with the latest versions of the various packages.
  • Don't include .env in Docker image.
  • Have Dockerfile.dev where requirements can be installed based on local version of rslearn.

This depends on the fastapi PR.

@favyen2
Copy link
Collaborator Author

favyen2 commented Oct 23, 2024

Hm this one is actually failing test, I'm not sure why, it's running out of disk space, do you think the runner is too small? Just because of --upgrade?

Copy link
Collaborator

@Hgherzog Hgherzog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall couple minor comments

Dockerfile Outdated Show resolved Hide resolved
Dockerfile.dev Outdated Show resolved Hide resolved
Dockerfile.dev Outdated Show resolved Hide resolved
Dockerfile.dev Outdated Show resolved Hide resolved
@favyen2 favyen2 merged commit 8cbe471 into master Oct 25, 2024
4 checks passed
@favyen2 favyen2 deleted the favyen/docker-file-improvement branch October 25, 2024 15:39
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.

2 participants