-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.test_env
More file actions
executable file
·35 lines (25 loc) · 972 Bytes
/
Dockerfile.test_env
File metadata and controls
executable file
·35 lines (25 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM coreoasis/ktools:%RELEASE_TAG%
COPY ./src/model_execution_worker/requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY ./src/server/requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY ./src/oasis_utils/requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
RUN mkdir /var/log/oasis
RUN useradd -ms /bin/bash oasis
RUN chown oasis /var/log/oasis
COPY ./src/common /home/oasis/src/common/
COPY ./src/model_execution/ /home/oasis/src/model_execution/
COPY ./src/utils/ /home/oasis/src/utils/
COPY ./src/oasis_utils/ /home/oasis/src/oasis_utils/
COPY ./src/server/ /home/oasis/src/server/
COPY ./data/ /home/oasis/data/
COPY ./tests/ /home/oasis/tests/
COPY ./run_test_analysis.sh /home/oasis/
#RUN chmod -R a+w /home/oasis/data
#RUN chmod -R a+w /home/oasis/tests
RUN chmod -R a+w /home/oasis
#USER oasis
#WORKDIR /home/oasis
#RUN python /home/oasis/tests/KparseTests.py
#RUN python /home/oasis/tests/ExposureTests.py