Modify Dockerfile ENTRYPOINT to use /appuser directory #10808

Closed
opened 2026-04-21 17:31:10 +00:00 by CoreRasurae · 0 comments
Member

Currently, the ENTRYPOINT in the Dockerfile is set to run from the root directory (/), which may cause issues with file permissions or path references. The correct behavior is to have the ENTRYPOINT run from the /appuser directory to ensure proper execution context.

Steps to reproduce:

  1. Build the Docker image.
  2. Run the container.
  3. Check the current working directory inside the container (e.g., using pwd).

Expected behavior: The working directory should be /appuser.

Current behavior: The working directory is / (root).

Solution: Modify the Dockerfile to set the working directory using WORKDIR /appuser before the ENTRYPOINT command.

Definition of Done:

  • Dockerfile has WORKDIR /appuser before ENTRYPOINT.
  • Container starts in /appuser directory.
  • All tests pass after the change.

Dockerfile location: /app/Dockerfile

Use branch: fix/dockerfile-start-directory-10808

Currently, the ENTRYPOINT in the Dockerfile is set to run from the root directory (/), which may cause issues with file permissions or path references. The correct behavior is to have the ENTRYPOINT run from the /appuser directory to ensure proper execution context. Steps to reproduce: 1. Build the Docker image. 2. Run the container. 3. Check the current working directory inside the container (e.g., using `pwd`). Expected behavior: The working directory should be /appuser. Current behavior: The working directory is / (root). Solution: Modify the Dockerfile to set the working directory using `WORKDIR /appuser` before the ENTRYPOINT command. Definition of Done: - Dockerfile has `WORKDIR /appuser` before ENTRYPOINT. - Container starts in /appuser directory. - All tests pass after the change. Dockerfile location: /app/Dockerfile Use branch: fix/dockerfile-start-directory-10808
CoreRasurae added the
State
Verified
Type
Task
Priority
High
Points
1
labels 2026-04-21 17:36:31 +00:00
CoreRasurae added this to the v3.2.0 milestone 2026-04-21 17:36:34 +00:00
CoreRasurae self-assigned this 2026-04-21 17:36:36 +00:00
CoreRasurae added the
MoSCoW
Must have
label 2026-04-21 17:37:04 +00:00
CoreRasurae added a new dependency 2026-04-21 17:47:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Depends on
Reference: cleveragents/cleveragents-core#10808