From 619ab111b34dfdbf3da400e3bf471b67512aac67 Mon Sep 17 00:00:00 2001 From: rgcosta Date: Sun, 12 Apr 2026 01:02:24 +0000 Subject: [PATCH] Add api/Dockerfile --- api/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 api/Dockerfile diff --git a/api/Dockerfile b/api/Dockerfile new file mode 100644 index 0000000..98592d0 --- /dev/null +++ b/api/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.12-slim +WORKDIR /app +RUN pip install --no-cache-dir fastapi uvicorn[standard] +COPY main.py . +VOLUME ["/data"] +EXPOSE 8000 +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file