diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..f41a720 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git/ +.vscode/ +.idea/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fe5056c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.12 + +WORKDIR /starlio-web + +COPY ./requirements.txt /starlio-web/requirements.txt + +RUN pip3 install --no-cache-dir --upgrade -r /starlio-web/requirements.txt + +COPY ./ /starlio-web/ + +CMD ["fastapi", "run", "main.py", "--port", "8000"] \ No newline at end of file