File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -43,19 +43,11 @@ ENV CI=true
4343RUN pnpm install --frozen-lockfile && \
4444 pnpm build
4545
46- FROM denoland/deno:bin-2.6.10 AS deno_installer
47- FROM gcr.io/distroless/cc@sha256:66d87e170bc2c5e2b8cf853501141c3c55b4e502b8677595c57534df54a68cc5 AS cc
46+ FROM denoland/deno:alpine-2.7.1
4847
49- FROM node:24-alpine
48+ # Install node and npm
49+ RUN apk add --no-cache nodejs npm
5050
51- # Install deno
52- COPY --from=deno_installer /deno /usr/local/bin/deno
53-
54- # Add in shared libraries needed by Deno
55- COPY --from=cc /lib/*-linux-gnu/* /usr/local/lib/
56- COPY --from=cc /lib/ld-linux-* /lib/
57-
58- RUN mkdir /lib64 && ln -s /usr/local/lib/ld-linux-* /lib64/
5951ENV LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
6052
6153# Add non-root user
@@ -72,6 +64,7 @@ COPY --from=builder /build/dist ./node_modules/cas-parser-node
7264
7365# Change ownership to nodejs user
7466RUN chown -R nodejs:nodejs /app
67+ RUN chown -R nodejs:nodejs /deno-dir
7568
7669# Switch to non-root user
7770USER nodejs
You can’t perform that action at this time.
0 commit comments