Dockerfile seems to not copy docker-entrypoint.sh #993
|
The game-server, API, and website containers don't seem to have access to the docker-entrypoint.sh file that gets copied from the build section of the dockerfile. I'm unsure if this is an error on my part or is a bug in the build process. If I could get pushed in the correct direction, I'd greatly appreciate it. Thank you! |
Answered by
Slendy
Mar 12, 2024
Replies: 2 comments 8 replies
|
I am unable to replicate this issue on the latest commit. What docker version are you running and what plugins do you have installed? |
7 replies
|
You should not need to build the image manually before doing a docker
compose up. It should just build for you
…On Mon, Mar 11, 2024 at 10:58 PM Amelia ***@***.***> wrote:
Just cloned the main the branch and attempted two different builds from
the root using docker build -t lighthouse . & docker compose up -d and docker
build . & docker compose up -d
My Docker version is 25.0.3, Docker Compose is 2.24.6-desktop.1. At the
moment I have no additional plugins installed.
—
Reply to this email directly, view it on GitHub
<#993 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQK7V5T2QBR53OICX7LOTULYXZ4PFAVCNFSM6AAAAABERGBJ5SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONJTHE3TS>
.
You are receiving this because you are subscribed to this thread.Message
ID: <LBPUnion/ProjectLighthouse/repo-discussions/993/comments/8753979@
github.com>
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, so I've narrowed down the issue to the entrypoint script having CRLF line endings instead of LF line endings. I've added a .gitattributes file to the repository which should indicate to Git that the scripts need to maintain LF line endings when being cloned. Try re-cloning the repository now and running docker compose.