Skip to content

[🐛 Bug]: Dockerfile.dev.api doesn't copy keep source code #5467

@prasanna-digiedze

Description

@prasanna-digiedze

Describe the bug
The docker build file for dev environment Dockerfile.dev.api doesn't copy the source code of keep into the docker image and hence fails on startup
To Reproduce
Steps to reproduce the behavior:

  1. Build the image using Dockerfile.dev.api
  2. Run the above image in a container
  3. The startup fails with following error message,
    exec /app/keep/entrypoint.sh: no such file or directory

Expected behavior
The container should start and accept requests to keep's backend at port:8080
The fix should be done to the build script file

Local Fix ( temporary )

  1. Fixed it locally by adding the required COPY commands into the build file
  2. After the above fix, the docker image after re-build started working and able to connect to port:8080

Additional context
I am using Docker Desktop on Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions