Skip to content

Commit

Permalink
Merge pull request #612 from DonRichards/patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
mjordan authored Jul 14, 2024
2 parents 2b6728a + eb7b843 commit 9f1f401
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ FROM python:3.10.6

# Build the container from the built image and run workbench:
# docker run -it --rm --network="host" -v $(pwd):/workbench --name workbench-docker-container-name workbench-docker-image-name bash -lc "(./workbench --config example.yml --check)"
# docker run -it --rm --network="host" -v $(pwd)/islandora_workbench:/workbench --name workbench-docker-container-name workbench-docker-image-name bash -lc "./workbench --config /workbench/islandora_workbench_demo_content/example.yml --check"
# To export a CSV file, that includes the available Drupal fields, run:
# docker run -it --rm --network="host" -v $(pwd)/islandora_workbench:/workbench --name workbench-docker-container-name workbench-docker-image-name bash -lc "./workbench --config /workbench/islandora_workbench_demo_content/idc_example_geo.yml --get_csv_template"
# The directory this file is in is mounted within the container at /workbench
# Rename example.yml to your YML file.

ADD . /workbench/
WORKDIR /workbench

# Works with and without this line
RUN python -m pip install setuptools
RUN python -m pip install setuptools libmagic urllib3>=1.21.1

# RUN pip install filemagic
RUN pip install urllib3>=1.21.1
RUN pip install libmagic
RUN python setup.py install

0 comments on commit 9f1f401

Please sign in to comment.