Skip to content

Commit d01099b

Browse files
committed
DEV-877: mount an existing Dataverse volume as /tmp
this modifies the configurations to expect a new directory, `/srv/dataverse-prod/dvsantee/etl/dvuploader-tmp`, to exist, which will be mounted within the container as `/tmp`. this will allow us address issues where the container's root volume is running out of space.
1 parent 7c97ee6 commit d01099b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.13-slim
22
WORKDIR /opt/app
33

44
# Install python-dvuploader dependencies
5-
COPY requirements.txt /tmp
6-
RUN pip install -r /tmp/requirements.txt
5+
COPY requirements.txt .
6+
RUN pip install -r requirements.txt
77

88
ENTRYPOINT [ "dvuploader" ]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ exec docker run \
2525
--init \
2626
--rm \
2727
--volume /srv/da:/srv/da:ro \
28+
--volume /srv/dataverse-prod/dvsantee/etl/dvuploader-tmp:/tmp \
2829
--volume /srv/dataverse-prod/dvsantee/etl/processing:/srv/dataverse:ro \
2930
ghcr.io/berkeleylibrary/dvuploader:latest "$@"
3031

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ services:
66
image: ghcr.io/berkeleylibrary/dvuploader:${USER:-default}-development
77
volumes:
88
- /srv/da:/opt/app/da:ro
9+
- /srv/dataverse-prod/dvsantee/etl/dvuploader-tmp:/tmp
910
- /srv/dataverse-prod/dvsantee/etl/processing:/opt/app/dataverse:ro

0 commit comments

Comments
 (0)