-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: hotfix, remove files to release disk space
ci: hotfix, update dot_env path ci: hotfix, create dot_env with GitHub secret ci: hotfix, update forgotten requirement.txt path in Dockerfile ci: add a more lightweight requirements.txt for CI ci: add masked .env file ci: fix docker image arg error
- Loading branch information
Saibo Geng
committed
Oct 2, 2023
1 parent
481fa01
commit dbdeb03
Showing
4 changed files
with
31 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
project="${1:-gcd}" # Use "llama" if no argument is provided | ||
tag="${2:-latest}" # Use "latest" if no tag argument is provided | ||
user="${3:-geng}" | ||
|
||
docker build -f docker/Dockerfile --build-arg USER_NAME=${user} --build-arg PROJECT_NAME=${project} -t ic-registry.epfl.ch/dlab/"${user}"/"${project}":"${tag}" --secret id=dot_env,src=docker/.env . | ||
|
||
#docker push ic-registry.epfl.ch/dlab/"${user}"/"${project}":"${tag}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
git+https://github.com/huggingface/transformers | ||
wandb~=0.13.7 |