Docker compress (#31)

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.

* update to Dockerfile to make the build much smaller.
This commit is contained in:
2021-05-05 20:07:02 +01:00
committed by GitHub
parent d7821fab78
commit 1bb272e07f
2 changed files with 11 additions and 20 deletions

View File

@@ -351,7 +351,7 @@ class ComicBook(models.Model):
book.verify_pages()
elif archive_type == 'pdf':
with atomic():
for page_index in range(archive.getNumPages()):
for page_index in range(archive.page_count):
page = ComicPage(
Comic=book, index=page_index, page_file_name=page_index+1, content_type='application/pdf'
)