Files
scale-gke-qdrant-llama/Dockerfile
Benito Martin 4f8c435d62 first deploy
2024-06-30 00:32:19 +02:00

20 lines
314 B
Docker

FROM python:3.10
WORKDIR /app
# Copy application code
COPY . .
# Clear pip cache
RUN pip cache purge
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 8000
# Command to run the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]