Unanswered
From Ubuntu:20.04
# Update Package Lists
Run Apt-Get Update
# Install Python And Pip
Run Apt-Get Install -Y Python3 Python3-Pip
# Install Clearml Agent
Run Pip3 Install Clearml-Agent
# Set The Working Directory
Workdir /App
# Copy Clearml.Conf File T
FROM ubuntu:20.04
# Update package lists
RUN apt-get update
# Install Python and pip
RUN apt-get install -y python3 python3-pip
# Install ClearML Agent
RUN pip3 install clearml-agent
# Set the working directory
WORKDIR /app
# Copy clearml.conf file to /home/ubuntu
COPY clearml.conf /home/ubuntu/clearml.conf
# Copy the Python code
COPY pipeline_from_decorator.py .
# Copy requirements.txt
COPY requirements.txt .
# Install dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
# Expose ports
EXPOSE 8080
EXPOSE 8008
EXPOSE 8081
# Run Python code
CMD ["python3", "pipeline_from_decorator.py"]
1K Views
0
Answers
one year ago
one year ago
Tags