From 68a8138e24d5f9b0ad43f62a147d6a697c62a680 Mon Sep 17 00:00:00 2001 From: Josep Chetrit Date: Mon, 20 Oct 2025 12:47:55 +0200 Subject: [PATCH] remove unused code in docker image --- Dockerfile | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 23bd007..4857f9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,22 +20,6 @@ FROM node:20-slim AS runner WORKDIR /app -# Install system dependencies and Foundry (for cast and chisel) -RUN apt-get update && apt-get install -y \ - curl \ - git \ - jq \ - && curl -L https://foundry.paradigm.xyz | bash \ - && ~/.foundry/bin/foundryup \ - && ln -s ~/.foundry/bin/cast /usr/local/bin/cast \ - && ln -s ~/.foundry/bin/chisel /usr/local/bin/chisel \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - -# Copy the shell script and make it executable -COPY safe_hashes.sh ../ -RUN chmod +x ../safe_hashes.sh - # Copy built app from builder stage COPY --from=builder /app/.next ./.next COPY --from=builder /app/public ./public