Skip to content

Commit

Permalink
improve dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderWWW committed Sep 5, 2024
1 parent 2aecab0 commit 8d14ea7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM python:3.9.19
WORKDIR /home/abcd-graph
FROM python:3.11.9-slim

RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y build-essential
WORKDIR /home/abcd-graph

RUN python -m pip install --upgrade pip
COPY . .
RUN pip install -e .
RUN git config --global --add safe.directory /home/abcd-graph

COPY pyproject.toml poetry.lock README.md ./

COPY src src/

RUN pip install --no-cache-dir -e .

CMD ["/bin/bash"]

1 comment on commit 8d14ea7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/abcd_graph
   graph.py745328%60–67, 70, 74, 78–86, 89–122, 125–166
   logger.py531081%39, 43, 47, 51, 55, 60, 63, 66, 69, 72
   utils.py20670%37–38, 45–48
   version.py330%20–24
src/abcd_graph/callbacks
   property_collector.py462252%37–49, 52–64, 68, 72, 76–78, 82, 86, 90, 94
   stats_collector.py352140%35, 39, 42, 45, 48–50, 53–66, 70–71
   visualizer.py685026%37–40, 43–47, 51–70, 74–93, 98–115
src/abcd_graph/core
   build.py85298%132, 149
   exporter.py462741%31–33, 38–39, 43–44, 47–51, 55–61, 65–68, 72–80, 83–85
   utils.py22864%31, 45–55
src/abcd_graph/core/abcd_objects
   abcd_graph.py19610347%36, 40–44, 48–60, 64–72, 76–77, 81–87, 91–103, 107–115, 119–121, 128–130, 137–140, 152, 155–160, 172, 230–239, 242–244, 247–249, 252–259, 262–267, 272–277
   abstract.py31294%39, 47
   community.py57886%28, 32, 36–39, 43, 47
   edge.py22195%19
TOTAL88731664% 

Tests Skipped Failures Errors Time
26 0 💤 0 ❌ 0 🔥 11.953s ⏱️

Please sign in to comment.