Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix provider icons in dockerized version

Tomas Valenta92c154c9bb34
diff --git a/Dockerfile b/Dockerfile
index 36cbcfe13..810811a64 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,6 +34,8 @@ ENV PORT 3000
EXPOSE 3000
+COPY --from=builder /app/public ./public
+
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder /app/.next/standalone ./
diff --git a/components/icons/ProviderIcon.tsx b/components/icons/ProviderIcon.tsx
index 333e6aa2d..77442cf53 100644
--- a/components/icons/ProviderIcon.tsx
+++ b/components/icons/ProviderIcon.tsx
@@ -40,6 +40,7 @@ function ProviderIcon({ provider }: Props) {
alt={`${provider} logo`}
src={iconPaths[provider]}
fill
+ priority
/>
</div>
)