From 04783f66f1da939a34491bfdb54c5189419aab30 Mon Sep 17 00:00:00 2001 From: kayela-c Date: Sat, 13 Dec 2025 12:23:28 -0600 Subject: [PATCH] docker set up --- Dockerfile | 20 ++++++++++++++++++++ __pycache__/database.cpython-312.pyc | Bin 1158 -> 1090 bytes __pycache__/server.cpython-312.pyc | Bin 154812 -> 154744 bytes docker-compose.yml | 15 +++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cf8b794 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Use an official Python image (Linux) +FROM python:3.12-slim + +# Set a working directory +WORKDIR /app + +# Copy dependency list +COPY requirements.txt . + +# Install dependencies +RUN pip3 install -r requirements.txt + +# Copy the rest of the project +COPY . . + +# Expose port (whatever your backend runs on) +EXPOSE 8000 + +# Run exactly your command +CMD ["python", "-m", "uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000", "--reload"] diff --git a/__pycache__/database.cpython-312.pyc b/__pycache__/database.cpython-312.pyc index 0234c7388e338a780cf729426cdfcfc017ec922d..ef06bc592a00c3438bb5e27dc016d7493007583c 100644 GIT binary patch delta 31 lcmZqUJjB6$nwOW00SG3pw%y3x$;2w4pIA_^`7YB+MgV|N2-N@p delta 99 zcmX@a(ZbvA8m*%GCl@#lT=NDxc z>wD+tC8rjYD0pX<=zDwn>F1{ACIOXaWESX_rzRC=mZa(@B_?O5=A~?&$+VIY01Q(h AvH$=8 diff --git a/__pycache__/server.cpython-312.pyc b/__pycache__/server.cpython-312.pyc index fde64855486414ba7b26d9bdbd214ed00c2d1e8a..394e01be4d891b277884d6462fc5f3be74375df1 100644 GIT binary patch delta 41 wcmdn9lk>+8PVUpZyj%=GFmbi*M(*8etbF>31qIFg>h1jMjNAFunbw*D02HDO6951J delta 109 zcmeydgLBVLPVUpZyj%=GP{D1pk$bnAXOMnqacWVqeqvrqW_F^!OMY@`Zfaghv3_`d zQFgJucYa=SYC(yDcV>ycx3`~uZfb54P