Update Dockerfile
Browse files- Dockerfile +14 -5
Dockerfile
CHANGED
|
@@ -1,11 +1,20 @@
|
|
| 1 |
FROM node:18-alpine
|
| 2 |
|
| 3 |
-
# Install
|
| 4 |
RUN apk add --no-cache \
|
| 5 |
-
python3 py3-pip \
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|