1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-31 18:11:53 +02:00

Set /app permissions in the Dockerfile

Add a note in readme to be careful of permissions with --reload
This commit is contained in:
Micah R Ledbetter
2023-05-05 23:47:02 -05:00
parent 5bbc5228cc
commit 3edb319ba9
2 changed files with 2 additions and 1 deletions

View File

@@ -108,7 +108,7 @@ RUN apt-get update -qq \
# Install ArchiveBox Python package and its dependencies
WORKDIR "$CODE_DIR"
ADD . "$CODE_DIR"
RUN pip install -e .
RUN chown -R root:root . && chmod a+rX -R . && pip install -e .
# Setup ArchiveBox runtime config
WORKDIR "$DATA_DIR"