indr4jith's picture
Upload folder using huggingface_hub
797e1a1 verified
Raw
History Blame Contribute Delete
517 Bytes
# Use the official Python image
FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . .
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Set environment variable for Google Cloud credentials (if using service account JSON directly)
ENV GOOGLE_APPLICATION_CREDENTIALS=legaling-dev-380e64b35120.json
# Run the command when the container starts
CMD ["python", "main.py"]