From cacd9a0ba597f6f048949b66edab0aa3b153fee6 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 10 Dec 2025 02:38:59 +0000 Subject: [PATCH] Add dockerfile --- dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..a537ede --- /dev/null +++ b/dockerfile @@ -0,0 +1,18 @@ +# Use official Python image +FROM python:3.11-slim + +# Set working directory +WORKDIR /app + +# Copy requirements and install +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +# Copy app folder +COPY app/ ./app/ + +# Expose FastAPI port +EXPOSE 8000 + +# Command to run FastAPI via uvicorn +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]