From 3c76a683b85c328830c53384d4e5d77fc04ef297 Mon Sep 17 00:00:00 2001 From: Abrar Yaser Date: Sun, 12 May 2024 07:21:19 -0500 Subject: [PATCH] tests --- .github/workflows/tests.yml | 4 ---- services/backend/Dockerfile-dev | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7236807..cb4da24 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,10 +30,6 @@ jobs: restore-keys: | ${{ runner.os }}-buildx- - - name: Build backend image - run: | - docker build -t backend-dev:latest -f services/backend/Dockerfile-dev . - - name: Set up Python uses: actions/setup-python@v2 with: diff --git a/services/backend/Dockerfile-dev b/services/backend/Dockerfile-dev index 0ec5123..5823a9f 100644 --- a/services/backend/Dockerfile-dev +++ b/services/backend/Dockerfile-dev @@ -14,11 +14,11 @@ ENV PYTHONUNBUFFERED 1 WORKDIR /usr/src/app # Install Python dependencies -COPY ./requirements.txt /usr/src/app/requirements.txt +COPY requirements.txt /usr/src/app/requirements.txt RUN pip install --no-cache-dir -r requirements.txt # Add entrypoint script and make it executable -COPY ./entrypoint.sh /usr/src/app/entrypoint.sh +COPY entrypoint.sh /usr/src/app/entrypoint.sh RUN chmod +x /usr/src/app/entrypoint.sh # Copy the rest of the application