-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (23 loc) · 879 Bytes
/
Dockerfile
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
FROM ghcr.io/asreview/asreview:v1.2
# Install necessary packages and libraries
RUN apt-get update
RUN pip install exoscale~=0.7.1
RUN pip install --upgrade asreview-makita~=0.6.3
RUN pip install sentence-transformers~=2.2.2 gensim~=4.2.0 tensorflow~=2.12.0
RUN pip install https://github.com/jteijema/asreview-reusable-fe/archive/main.zip
# Set up synergy
RUN pip install synergy-dataset
RUN mkdir -p /app/synergy
RUN synergy get -l -o ./app/synergy
# Set up the working directory and copy the script
WORKDIR /app
# Copy the simulation script into the container
COPY docker/run_simulation.sh .
COPY docker/upload_to_storage.py .
COPY docker/custom_arfi.txt.template .
# Make the script executable
RUN chmod +x run_simulation.sh
RUN chmod +x upload_to_storage.py
# Set the entrypoint and default command
ENTRYPOINT ["./run_simulation.sh"]
CMD [$DATASET, $SETTINGS, $BUCKET]