diff --git a/Dockerfile b/Dockerfile index 4e28728..579ce7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,7 @@ RUN pip3 install -r requirements.txt FROM base AS test RUN python3 -m coverage run -m pytest tests - -RUN chmod +x main.sh -CMD ["./main.sh"] -# CMD ["python3", "-m", "coverage", "lcov" ,"-o", "coverage/coverage.lcov"] +CMD ["python3", "-m", "coverage", "lcov" ,"-o", "coverage/lcov.info"] FROM base AS prod-server CMD ["python3", "server.py"] diff --git a/main.sh b/main.sh deleted file mode 100644 index 8f92d1a..0000000 --- a/main.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -python3 -m coverage lcov -o coverage/lcov.info - -ls -la -ls -la coverage