From 8eba882ed74a8c901eb0c4581784be638a62fe0c Mon Sep 17 00:00:00 2001 From: ellwoodb Date: Tue, 23 Jul 2024 20:46:42 +0200 Subject: [PATCH] Added Dockerfile for app; moved requirements.txt into app --- app/Dockerfile | 10 ++++++++++ requirements.txt => app/requirements.txt | 0 2 files changed, 10 insertions(+) create mode 100644 app/Dockerfile rename requirements.txt => app/requirements.txt (100%) diff --git a/app/Dockerfile b/app/Dockerfile new file mode 100644 index 0000000..0a9976f --- /dev/null +++ b/app/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.10 + +WORKDIR /stocknear-backend + +COPY requirements.txt . +RUN pip install -r requirements.txt +COPY . . + + +CMD ["uvicorn", "main:app", "--reload"] \ No newline at end of file diff --git a/requirements.txt b/app/requirements.txt similarity index 100% rename from requirements.txt rename to app/requirements.txt