Skip to content

Commit 13eebe3

Browse files
perigrinclaude
andcommitted
Fix Docker build context to resolve entrypoint.sh not found error
- Set buildfolder to "../.." in all fly.toml files to use project root as build context - Update Dockerfile COPY paths to be relative to project root - Fix atheme/Dockerfile: atheme/entrypoint.sh and atheme/atheme.conf.template - Fix solanum/Dockerfile: solanum/entrypoint.sh and solanum/ircd.conf.template - This resolves the "entrypoint.sh: not found" Docker build error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7604af0 commit 13eebe3

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

atheme/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ RUN adduser -D -s /bin/false atheme
6464
RUN chown -R atheme:atheme /opt/atheme
6565

6666
# Copy configuration templates and startup script
67-
COPY atheme.conf.template /opt/atheme/etc/atheme.conf.template
68-
COPY entrypoint.sh /app/start.sh
67+
COPY atheme/atheme.conf.template /opt/atheme/etc/atheme.conf.template
68+
COPY atheme/entrypoint.sh /app/start.sh
6969
RUN chmod +x /app/start.sh
7070

7171
# Container starts as root for Tailscale, drops to atheme user for services

servers/magnet-1eu/fly.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ primary_region = "ams"
99
cpus = 1
1010

1111
[build]
12-
dockerfile = "../../solanum/Dockerfile"
12+
dockerfile = "solanum/Dockerfile"
13+
buildfolder = "../.."
1314

1415
[mounts]
1516
source = "magnet_1eu_data"

servers/magnet-9rl/fly.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ primary_region = "ord"
99
cpus = 1
1010

1111
[build]
12-
dockerfile = "../../solanum/Dockerfile"
12+
dockerfile = "solanum/Dockerfile"
13+
buildfolder = "../.."
1314

1415
[mounts]
1516
source = "magnet_9rl_data"

servers/magnet-atheme/fly.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ primary_region = "ord"
99
cpus = 1
1010

1111
[build]
12-
dockerfile = "../../atheme/Dockerfile"
12+
dockerfile = "atheme/Dockerfile"
13+
buildfolder = "../.."
1314

1415
[mounts]
1516
source = "magnet_atheme_data"

solanum/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ RUN adduser -D -s /bin/false ircd
6464
RUN chown -R ircd:ircd /opt/solanum/var
6565

6666
# Copy configuration templates and startup script
67-
COPY ircd.conf.template /opt/solanum/etc/ircd.conf.template
68-
COPY entrypoint.sh /app/start.sh
67+
COPY solanum/ircd.conf.template /opt/solanum/etc/ircd.conf.template
68+
COPY solanum/entrypoint.sh /app/start.sh
6969
RUN chmod +x /app/start.sh
7070

7171
# Container starts as root for Tailscale, drops to ircd user for Solanum

0 commit comments

Comments
 (0)