-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile wieder auf urspruenglichen Zustand zurueckgesetzt.
- Loading branch information
Showing
1 changed file
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
# A prepared image with python3.10, java 11, ir_datasets, tira, and PyTerrier installed | ||
FROM webis/ir-lab-wise-2023:0.0.4 | ||
|
||
# Update pip and install required packages | ||
RUN pip3 install --upgrade pip && \ | ||
pip3 install --no-cache-dir tira transformers torch nltk | ||
# Update the tira command to use the latest version | ||
RUN pip3 uninstall -y tira \ | ||
&& pip3 install tira | ||
|
||
# Download NLTK data | ||
RUN python3 -c "import nltk; nltk.download('punkt')" | ||
ADD . /app | ||
|
||
# Set the working directory | ||
WORKDIR /app | ||
|
||
# Copy the notebook and any other necessary files | ||
COPY . /app | ||
|
||
# Make sure the notebook is in the correct location | ||
RUN ls -la /app | ||
|
||
# Set the default command to run the notebook | ||
CMD ["/run-notebook.py", "--notebook", "/app/combined-combined-all-01.ipynb", "--input", "$inputDataset", "--output", "$outputDir"] |