Skip to content

Commit

Permalink
Dockerfile wieder auf urspruenglichen Zustand zurueckgesetzt.
Browse files Browse the repository at this point in the history
  • Loading branch information
ff-v12gh committed Jul 1, 2024
1 parent 0e9b787 commit 6b23745
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions Dockerfile
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"]

0 comments on commit 6b23745

Please sign in to comment.