Skip to content

Commit ecdb8d4

Browse files
authored
Merge pull request #7 from jihchi/bump-deno-version-arg
Bump Deno to 2.7.1 and use ARG for version
2 parents 0dd6de5 + c61c3f7 commit ecdb8d4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

container/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
ARG DENO_VERSION=2.7.1
2+
13
# Build stage
2-
FROM denoland/deno:2.6.10 AS builder
4+
FROM denoland/deno:${DENO_VERSION} AS builder
35
WORKDIR /app
46

57
# Install nq and dependencies for zellij
@@ -23,7 +25,7 @@ RUN ARCH=$(dpkg --print-architecture) \
2325
&& chmod +x /usr/local/bin/zellij
2426

2527
# Production stage
26-
FROM denoland/deno:2.6.10
28+
FROM denoland/deno:${DENO_VERSION}
2729
WORKDIR /app
2830

2931
COPY --from=builder /usr/bin/nq /usr/bin/nqtail /usr/bin/nqterm /usr/bin/

0 commit comments

Comments
 (0)