train / Dockerfile
qgallouedec's picture
qgallouedec HF Staff
Update Dockerfile
6fb9724 verified
raw
history blame
308 Bytes
# Use a lightweight Python image as the base
FROM python:3.11-slim
# Set the working directory inside the container
WORKDIR /app
# Copy all files to the container
COPY . /app
# Install required dependencies
RUN pip install -r requirements.txt
# Default command to run the script
CMD ["python", "main.py"]