From 45ddb3a5e88f4f619dc0e188d38dd57bad5b1170 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Fri, 13 Feb 2026 11:10:20 -0800 Subject: [PATCH] DEV-1116: Copies ./scripts into the Docker image Copies the scripts directory into the Docker image so they can more easily be applied to a host. --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d1a8868..3a2dc88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,13 @@ USER $APP_USER:$APP_GROUP # Install python-dvuploader dependencies COPY --chown=$APP_USER requirements.txt . RUN pip install -r requirements.txt - ENV PATH="/opt/app/.local/bin:$PATH" +# Install scripts (so they can be more easily installed on the host) +COPY --chown=$APP_USER scripts /opt/app/scripts + +# Smell-check the installation +RUN dvuploader --help && \ + ls -l /opt/app/scripts + ENTRYPOINT [ "dvuploader" ]