mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-31 14:34:40 +00:00
Actor: Create Apify user home directory in Docker setup
Add and configure `/home/appuser/.apify` directory with proper permissions for the appuser in the Docker container. This ensures the Apify SDK has a writable home directory for storing its configuration and temporary files. Signed-off-by: Václav Vančura <commit@vancura.dev>
This commit is contained in:
parent
784571f9ce
commit
b2ac6cc218
@ -21,9 +21,9 @@ RUN groupadd -r appuser && useradd -r -g appuser -s /sbin/nologin appuser && \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN mkdir -p /tmp/runtime-root && \
|
||||
RUN mkdir -p /tmp/runtime-root /home/appuser/.apify && \
|
||||
chmod 0700 /tmp/runtime-root && \
|
||||
chown appuser:appuser /tmp/runtime-root
|
||||
chown -R appuser:appuser /tmp/runtime-root /home/appuser/.apify
|
||||
|
||||
COPY --chown=appuser:appuser .actor/ .actor/
|
||||
COPY --chown=appuser:appuser . .
|
||||
|
Loading…
Reference in New Issue
Block a user