# Start from a Hugging Face base image | |
FROM huggingface/transformers-pytorch-gpu:latest | |
# Set the working directory | |
WORKDIR /usr/src/app | |
# Copy the current directory contents into the container | |
COPY . . | |
# Install required packages | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Make port 8443 available | |
EXPOSE 8443 | |
# Run the bot | |
CMD ["python", "./bot.py"] | |