BERT_MODEL / Dockerfile
Sai809701
added 3 files
60a3fde
raw
history blame contribute delete
430 Bytes
# Use the official Python image as a base
FROM python:3.10
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements file and install the dependencies
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Copy all the other files into the container
COPY . .
# Run the FastAPI app using Uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]