mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 15:02:21 +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
|
WORKDIR /app
|
||||||
|
|
||||||
RUN mkdir -p /tmp/runtime-root && \
|
RUN mkdir -p /tmp/runtime-root /home/appuser/.apify && \
|
||||||
chmod 0700 /tmp/runtime-root && \
|
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 .actor/ .actor/
|
||||||
COPY --chown=appuser:appuser . .
|
COPY --chown=appuser:appuser . .
|
||||||
|
Loading…
Reference in New Issue
Block a user