diff --git a/Dockerfile b/Dockerfile index fa97063..e966e75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,11 +35,11 @@ CMD ["fastapi", "run", "/app/api/main.py", "--host", "0.0.0.0", "--port", "8000" # Testing Stage FROM base AS test -# Copy the requirements file for test dependencies -COPY requirements-test.txt /app/ +# Copy the requirements file for the app & the test dependencies +COPY requirements.txt requirements-test.txt /app/ # Install both production and test dependencies -RUN pip install --no-cache-dir -r requirements-test.txt +RUN pip install --no-cache-dir -r requirements.txt -r requirements-test.txt # Copy everything in COPY . /app diff --git a/requirements-test.txt b/requirements-test.txt index 664bbdb..a205aa4 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,12 +1,3 @@ -# Production dependencies -pydantic==2.9.2 -pydantic-settings==2.6.1 -fastapi[all]==0.115.5 -prometheus_client==0.21.0 -requests==2.32.3 -PyJWT==2.9.0 -cryptography==43.0.3 -opensearch-py==2.7.1 - +# Testing dependencies pytest==8.3.3 pytest-env==1.1.5 \ No newline at end of file