Skip to content

Commit f0bb6c2

Browse files
committed
speeding up make prod
1 parent adfb985 commit f0bb6c2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/web/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "0.12.10"
1+
VERSION = "0.12.11"
22

33
API_DESCRIPTION = """
44
#### API for the Auto-Archiver project, a tool to archive web pages and Google Sheets.

docker/worker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ COPY ../../user-groups.* ./app/
3838
# - /crawls: named volume for Browsertrix WACZ crawl data
3939
# - /aa-api: WORKDIR, auto-archiver creates TemporaryDirectory(dir="./") here
4040
# - /aa-api/logs, /aa-api/database, /aa-api/secrets: bind-mounted at runtime
41-
# - /app/.venv: base image venv, seleniumbase downloads chromedriver here at runtime
41+
# - seleniumbase drivers dir: chromedriver downloaded at runtime
4242
RUN mkdir -p /crawls /aa-api/logs /aa-api/database /aa-api/secrets && \
43-
chown -R 1000:1000 /crawls /aa-api /app/.venv
43+
chown -R 1000:1000 /crawls /aa-api && \
44+
chown -R 1000:1000 /app/.venv/lib/python3.12/site-packages/seleniumbase/drivers
4445

4546
# Switch back to non-root user
4647
USER 1000

0 commit comments

Comments
 (0)