From eb7b843a7200d806752ce1f6fbe57de01b211e59 Mon Sep 17 00:00:00 2001 From: Don Richards <2738244+DonRichards@users.noreply.github.com> Date: Tue, 30 May 2023 15:53:51 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 54add2ef..5b37993f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,9 @@ 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. @@ -13,9 +16,6 @@ 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