Skip to content

Commit

Permalink
feat: test target was edited based on expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
scientiststwin committed Jul 20, 2023
1 parent 28de928 commit 6e91c79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ COPY . .
RUN pip3 install -r requirements.txt

FROM base AS test
CMD ["python3", "-m", "coverage", "run" ,"-m", "pytest", "tests"]
RUN python3 -m coverage run -m pytest tests
CMD ["python3", "-m", "coverage", "lcov" ,"-o", "coveage/coverage.lcov"]

FROM base AS prod-server
CMD ["python3", "server.py"]
Expand Down

0 comments on commit 6e91c79

Please sign in to comment.