App / Dockerfile
AsadCognify's picture
Create Dockerfile
712d387 verified
raw
history blame contribute delete
282 Bytes
FROM python:3.12-alpine
# Set working directory
WORKDIR /app
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port the app runs on
EXPOSE 7860
# Run the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]