RaBU1234 commited on
Commit
216e98d
·
verified ·
1 Parent(s): 6232643

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -5
Dockerfile CHANGED
@@ -1,11 +1,20 @@
1
  FROM node:18-alpine
2
 
3
- # Install all required tools
4
  RUN apk add --no-cache \
5
- python3 py3-pip \
6
- git curl bash coreutils nginx \
7
- util-linux \
8
- pnpm
 
 
 
 
 
 
 
 
 
9
 
10
  WORKDIR /app
11
 
 
1
  FROM node:18-alpine
2
 
3
+ # Install dependencies
4
  RUN apk add --no-cache \
5
+ python3 py3-pip git curl bash coreutils nginx \
6
+ wget tar
7
+
8
+ # Install gVisor runsc
9
+ RUN wget https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc && \
10
+ wget https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc.sha512 && \
11
+ sha512sum -c runsc.sha512 && \
12
+ chmod +x runsc && \
13
+ mv runsc /usr/local/bin/ && \
14
+ rm runsc.sha512
15
+
16
+ # Install pnpm
17
+ RUN npm install -g pnpm
18
 
19
  WORKDIR /app
20