Skip to content

Commit 9fbf9f0

Browse files
Merge pull request #132 from restackio/flowBullseye
Agent wit React Flow: use bullseye for runner
2 parents 4596db7 + 4b2bc3d commit 9fbf9f0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

agent-reactflow/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ WORKDIR /app
3131
# Update the certificate store in this Debian-based stage.
3232
RUN apt-get update && \
3333
apt-get install -y ca-certificates && \
34-
update-ca-certificates
34+
update-ca-certificates \
35+
&& rm -rf /var/lib/apt/lists/*
3536

3637
RUN npm install -g [email protected] && \
3738
npm install -g [email protected]
@@ -50,7 +51,7 @@ RUN pnpm build
5051
# ============
5152
# Final Runner stage
5253
# ============
53-
FROM node:20-alpine AS runner
54+
FROM node:20-bullseye-slim AS runner
5455

5556
WORKDIR /app
5657

@@ -59,9 +60,10 @@ COPY --from=installer /app .
5960

6061
# Install only runtime packages. Here we install curl and ca-certificates,
6162
# then update the certificate store for secure TLS connections.
62-
RUN npm install -g [email protected] && \
63-
apk add --no-cache curl ca-certificates && update-ca-certificates
64-
63+
RUN npm install -g [email protected] \
64+
&& apt-get update \
65+
&& apt-get install -y ca-certificates \
66+
&& rm -rf /var/lib/apt/lists/*
6567
# Start the application using pnpm.
6668
CMD ["pnpm", "start"]
6769

0 commit comments

Comments
 (0)