Skip to content

Commit

Permalink
add new path in Dockerfile ml-base
Browse files Browse the repository at this point in the history
  • Loading branch information
Edipool committed Oct 16, 2023
1 parent 13f6a28 commit a624401
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Makefile
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
2 changes: 1 addition & 1 deletion src/scheduler/ml-base/Dockerfile
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

0 comments on commit a624401

Please sign in to comment.