Skip to content

Commit 8e74fe1

Browse files
eberriganclaude
andauthored
fix: correct COPY paths in production client Dockerfile (#180)
The production Dockerfile was using incorrect paths for COPY commands. Build context is ./lablink-client-base but files are in subdirectory lablink-client-base-image/, so paths must be relative to context. Fixes: - COPY install_miniforge.sh → COPY lablink-client-base-image/install_miniforge.sh - COPY install_nvm.sh → COPY lablink-client-base-image/install_nvm.sh - COPY start.sh → COPY lablink-client-base-image/start.sh Error was: ERROR: "/start.sh": not found ERROR: "/install_miniforge.sh": not found This only affected main branch builds (production Dockerfile). Dev Dockerfile already had correct paths. Verified allocator Dockerfile paths are also correct (context is repo root). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 27c9fd2 commit 8e74fe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lablink-client-base/lablink-client-base-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ USER ${USERNAME}
123123
WORKDIR /home/${USERNAME}
124124

125125
# Create scripts directory with miniforge, uv, and nvm installation scripts
126-
COPY install_miniforge.sh install_nvm.sh /scripts/
126+
COPY lablink-client-base-image/install_miniforge.sh lablink-client-base-image/install_nvm.sh /scripts/
127127

128128
# Make scripts executable and run them
129129
RUN sudo chmod +x /scripts/*.sh && \
@@ -141,7 +141,7 @@ RUN uv venv /home/${USERNAME}/.venv && \
141141
uv pip install --python=/home/${USERNAME}/.venv/bin/python lablink-client-service==${PACKAGE_VERSION}
142142

143143
# Copy the startup script
144-
COPY start.sh /home/${USERNAME}/start.sh
144+
COPY lablink-client-base-image/start.sh /home/${USERNAME}/start.sh
145145
RUN sudo chmod +x /home/${USERNAME}/start.sh
146146

147147
# Run the startup script

0 commit comments

Comments
 (0)