docker file and version intro (#556)

This commit is contained in:
Archer
2023-12-05 10:46:27 +08:00
committed by GitHub
parent 62e87551ac
commit 71afe71192
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Install dependencies only when needed
FROM node:18.15-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add libc6-compat && npm install -g pnpm
RUN apk add --no-cache libc6-compat && npm install -g pnpm
WORKDIR /app
ARG name