Skip to content

Commit

Permalink
use bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
maximtop committed Apr 26, 2024
1 parent c44dbe0 commit a280b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build environment
FROM node:20.12.2-alpine AS builder
FROM node:20.12.2-bookworm-slim AS builder

# Install PNPM globally with a specific version
RUN npm install -g [email protected]
Expand All @@ -20,7 +20,7 @@ COPY . .
RUN pnpm run build

# Stage 2: Runtime environment
FROM node:20.12.2-alpine AS runtime
FROM node:20.12.2-bookworm-slim AS runtime

# Copy only the built executable and set permissions
COPY --from=builder /app/dist/bin/index.js /usr/local/bin/github-actions-runner
Expand Down

0 comments on commit a280b20

Please sign in to comment.