Next_Word_Prediction / Dockerfile
saurabh091's picture
Upload 6 files
a561bc0 verified
raw
history blame contribute delete
324 Bytes
# Use a base image with Python
FROM python:3.9
# Set the working directory
WORKDIR /app
# Copy all files to the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port (Hugging Face requires port 7860)
EXPOSE 7860
# Run Flask
CMD ["python", "app.py"]