Fix import error

Forgot to add local python libraries to the image.
This commit is contained in:
Maks Snegov 2019-12-06 11:42:20 +03:00
parent e899ebd9a3
commit 280979f88a

View File

@ -11,7 +11,8 @@ WORKDIR /seafile-client
COPY requirements.txt ./ COPY requirements.txt ./
RUN pip install --no-cache-dir -r 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 && \ RUN chmod +x /seafile-client/start.py && \
useradd -U -d /seafile-client -s /bin/bash seafile && \ useradd -U -d /seafile-client -s /bin/bash seafile && \