From 280979f88a979a478e198683b81f90e01d23b4eb Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Fri, 6 Dec 2019 11:42:20 +0300 Subject: [PATCH] Fix import error Forgot to add local python libraries to the image. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ae3c75..a9ae51d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ WORKDIR /seafile-client COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt -COPY start.py /seafile-client/start.py +COPY seafile_client ./seafile_client/ +COPY start.py ./start.py RUN chmod +x /seafile-client/start.py && \ useradd -U -d /seafile-client -s /bin/bash seafile && \