Skip to content

Commit 89f52a2

Browse files
committed
Amend script
1 parent b55dbb2 commit 89f52a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extract_staticfiles.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
rm -fr static
44

55
container_id=$(docker create 949266541515.dkr.ecr.eu-west-1.amazonaws.com/ci-hackathon-app:$1)
6-
docker cp $container_id:/static ./static
6+
docker exec -it $container_id python3 manage.py collectstatic
7+
docker cp $container_id:/staticfiles ./static
78
docker rm -v $container_id
89

0 commit comments

Comments
 (0)