From 3f72d668de42280b029eb2fbfd8d8681416c052a Mon Sep 17 00:00:00 2001 From: lalanza808 Date: Mon, 13 Jan 2020 11:36:17 -0800 Subject: [PATCH] use symlink instead --- Dockerfile-xmrauctions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-xmrauctions b/Dockerfile-xmrauctions index da06812..7e5cbea 100644 --- a/Dockerfile-xmrauctions +++ b/Dockerfile-xmrauctions @@ -5,7 +5,7 @@ RUN apt-get install python3 python3-venv -y COPY requirements.txt /tmp/requirements.txt RUN python3 -m venv /tmp/venv && /tmp/venv/bin/pip install -r /tmp/requirements.txt COPY . /srv/xmrauctions -RUN cp -r /tmp/venv/ /srv/xmrauctions/.venv +RUN ln -s /tmp/venv/ /srv/xmrauctions/.venv/ RUN useradd -s /bin/bash -d /srv/xmrauctions xmrauctions RUN chown -R xmrauctions:xmrauctions /srv/xmrauctions RUN chmod +x /srv/xmrauctions/bin/*