File size: 367 Bytes
e1278e7 72d2c84 e1278e7 834a235 72d2c84 e1278e7 834a235 72d2c84 e1278e7 4869f73 72d2c84 e1278e7 834a235 e1278e7 834a235 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# 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"]
|