[Patchew-devel] [PATCH 1/2] server.docker: Include .git in /opt/patchew

Fam Zheng famz at redhat.com
Fri Mar 16 03:50:12 UTC 2018


Signed-off-by: Fam Zheng <famz at redhat.com>
---
 scripts/dockerfiles/server.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dockerfiles/server.docker b/scripts/dockerfiles/server.docker
index 7641196..1c22626 100644
--- a/scripts/dockerfiles/server.docker
+++ b/scripts/dockerfiles/server.docker
@@ -12,7 +12,7 @@ RUN /bin/bash -c "mkdir -p /opt/patchew && \
 COPY . /tmp/patchew/
 # Be careful not to overwrite the venv we've just initialized
 RUN rm -rf /tmp/patchew/venv
-RUN mv /tmp/patchew/* /opt/patchew/
+RUN cp -r /tmp/patchew /opt
 RUN /bin/bash -c "cd /opt/patchew && \
     . venv/bin/activate && \
     ./manage.py migrate --no-input && \
-- 
2.14.3




More information about the Patchew-devel mailing list