-
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
1 parent
779ae46
commit ca1a8bd
Showing
1 changed file
with
12 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
FROM python:3.12-slim | ||
CMD python -c "import time; time.sleep(10); print(f'F1 = {0.95}')" | ||
FROM python:3.8-slim | ||
|
||
WORKDIR /app | ||
ADD . /app | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
# Install any needed packages specified in requirements.txt | ||
RUN pip install --upgrade pip && \ | ||
pip install -r app/requirements-dev.txt | ||
|
||
# Run the command to start the model training | ||
CMD ["python", "app/model/training.py"] |