From 8740ce8a442a2f5cc47cdc8d2068d4fa1a025a97 Mon Sep 17 00:00:00 2001 From: SZV-coder Date: Thu, 12 Jun 2025 10:01:18 -0400 Subject: [PATCH] Dockerfile req --- dockerbuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dockerbuild diff --git a/dockerbuild b/dockerbuild new file mode 100644 index 0000000..da4f25f --- /dev/null +++ b/dockerbuild @@ -0,0 +1,22 @@ +# Use the official Python image as base +FROM python:3.11-slim + +# Set working directory +WORKDIR /app + +# Copy requirements file and install dependencies +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +# Copy the FastAPI application +COPY . . + +# Expose the port FastAPI will run on +EXPOSE 8000 + +# Command to run the app using uvicorn +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] + +fastapi +uvicorn +passlib[bcrypt] \ No newline at end of file