Skip to content

Commit

Permalink
model train docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriihavrylko committed Feb 25, 2024
1 parent 779ae46 commit ca1a8bd
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions job/Dockerfile
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"]

0 comments on commit ca1a8bd

Please sign in to comment.