File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Define the Python version neded for CTF
2
- FROM python:3.10 -slim
2
+ FROM python:3.12 -slim
3
3
4
4
# # Prevents Python from writing pyc files
5
5
ENV PYTHONDONTWRITEBYTECODE=1
@@ -17,14 +17,13 @@ RUN mkdir -p ./data/outputs
17
17
18
18
# Copy the source code from local root and test files from build into the container
19
19
COPY --chown=nobody ./causal_testing ./causal_testing
20
- COPY --chown=nobody ./dafni/src/ ./src
21
20
COPY --chown=nobody ./dafni/data/inputs ./data/inputs
22
21
23
22
# Install core dependencies using PyPi
24
23
RUN pip install causal-testing-framework --no-cache-dir
25
24
26
25
# Set the PYTHONPATH environment variable to include the /src directory
27
- ENV PYTHONPATH="/src :${PYTHONPATH}"
26
+ ENV PYTHONPATH="/causal_testing :${PYTHONPATH}"
28
27
29
28
# Define the entrypoint/commands
30
- CMD python -m main_dafni --dag_path $DAG_PATH --data_path $DATA_PATH --tests_path $TESTS_PATH
29
+ CMD python -m causal_testing --dag_path $DAG_PATH --data_path $DATA_PATH --test_config $TESTS_PATH --output $OUTPUT
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ services:
7
7
env_file :
8
8
- .env
9
9
volumes :
10
- - ./dafni :/usr/src/
10
+ - .:/usr/src/
You can’t perform that action at this time.
0 commit comments