fix: correct COPY syntax in compatibility Dockerfile

- Remove shell redirection from COPY commands
- Docker COPY doesn't support shell syntax like 2>/dev/null
- Directly copy required config files
This commit is contained in:
2025-08-17 10:40:02 -05:00
parent 8899c083ec
commit ecfa153256
+2 -3
View File
@@ -33,9 +33,8 @@ COPY --from=builder /build/lux-mpc /usr/local/bin/
COPY --from=builder /build/lux-mpc-cli /usr/local/bin/
COPY --from=builder /build/lux-mpc-bridge /usr/local/bin/
# Copy config templates if they exist
COPY config.yaml.template /app/ 2>/dev/null || true
COPY peers.json /app/ 2>/dev/null || true
# Copy config templates
COPY config.yaml.template peers.json /app/
# Create data and log directories
RUN mkdir -p /data/mpc /app/logs /app/identity