t / Dockerfile
munasarr's picture
Update Dockerfile
e1278e7 verified
raw
history blame contribute delete
367 Bytes
# 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"]