Setting up the repo with correct dockerfiles and docker-copmose files, and deleting .idea from git

This commit is contained in:
esk4nz
2026-03-02 23:21:36 +02:00
parent 87df394352
commit f96930a259
23 changed files with 74 additions and 519 deletions

View File

@@ -3,9 +3,10 @@ FROM python:3.9-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file and install dependencies
COPY requirements.txt .
COPY hub/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire application into the container
COPY . .
COPY hub/. .
# Run the main.py script inside the container when it starts
CMD ["uvicorn", "main:app", "--host", "0.0.0.0"]