Skip to content

Commit 828e81c

Browse files
authored
fix Dockerfile to include irrelveant files (#708)
- currently files are copied to the image twice once including non relevant files e.g. .git directory - copying the whole local directory could include the local `env` directory, thus overriding the already generated `env` dir
1 parent f4f1fe2 commit 828e81c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ RUN chown -R iris:iris /home/iris/source /var/log/nginx /var/lib/nginx \
2222
&& sudo -Hu iris python3 -m venv /home/iris/env \
2323
&& sudo -Hu iris /bin/bash -c 'source /home/iris/env/bin/activate && python3 -m pip install -U pip wheel && cd /home/iris/source && pip install .'
2424

25-
COPY . /home/iris
2625
COPY ops/config/systemd /etc/systemd/system
2726
COPY ops/daemons /home/iris/daemons
2827
COPY ops/daemons/uwsgi-docker.yaml /home/iris/daemons/uwsgi.yaml

0 commit comments

Comments
 (0)