-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
build_docker: | ||
@echo "Building docker images..." | ||
docker build -t edipool/ml-base:latest -f src/scheduler/ml-base/Dockerfile . | ||
|
||
push_docker: | ||
@echo "Pushing docker images to registry..." | ||
docker push edipool/ml-base:latest | ||
|
||
run_services: | ||
@echo "Running services..." | ||
|
||
|
||
stop_services: | ||
@echo "Stopping services..." | ||
docker stop app prometheus grafana streamlit_app | ||
docker rm app prometheus grafana streamlit_app | ||
|
||
save_tree: | ||
@ echo "Saving project structure..." | ||
tree -L 4 -I 'venv|__pycache__|mlruns|dist|grafana_data|*egg-info' > project_structure.txt |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM python:3.8.15 | ||
RUN mkdir /build/ | ||
COPY requirements.txt /build/requirements.txt | ||
COPY src/scheduler/ml-base/requirements.txt /build/requirements.txt | ||
|
||
RUN pip install -r /build/requirements.txt |