Skip to content

Commit dca933b

Browse files
DEV-1116: Copies ./scripts into the Docker image (#8)
Copies the scripts directory into the Docker image so they can more easily be applied to a host.
1 parent 0acc990 commit dca933b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ USER $APP_USER:$APP_GROUP
1818
# Install python-dvuploader dependencies
1919
COPY --chown=$APP_USER requirements.txt .
2020
RUN pip install -r requirements.txt
21-
2221
ENV PATH="/opt/app/.local/bin:$PATH"
2322

23+
# Install scripts (so they can be more easily installed on the host)
24+
COPY --chown=$APP_USER scripts /opt/app/scripts
25+
26+
# Smell-check the installation
27+
RUN dvuploader --help && \
28+
ls -l /opt/app/scripts
29+
2430
ENTRYPOINT [ "dvuploader" ]

0 commit comments

Comments
 (0)