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

Fam Zheng posted 2 patches 6 years, 2 months ago
[Patchew-devel] [PATCH 1/2] server.docker: Include .git in /opt/patchew
Posted by Fam Zheng 6 years, 2 months ago
Signed-off-by: Fam Zheng <famz@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

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel