-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
FROM node:18.16-alpine | ||
RUN set -xve \ | ||
&& cd && ls -alh \ | ||
&& uname -a \ | ||
&& node -v \ | ||
&& npm -v | ||
FROM python:3.10-alpine as builder | ||
COPY package.json .npmrc pnpm-lock.yaml /tmp/build/ | ||
RUN set -x \ | ||
&& apk update \ | ||
&& apk add nodejs npm git \ | ||
&& npm -v \ | ||
&& npm i -g pnpm@8.3.1 \ | ||
&& pnpm -v \ | ||
&& cd /tmp/build \ | ||
&& pnpm --registry https://registry.npmmirror.com install --prod |