sparkleman commited on
Commit ·
3793f15
1
Parent(s): 1cec055
FIX
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,14 @@
|
|
| 1 |
FROM node:20-alpine AS FrontendBuilder
|
| 2 |
RUN apk add --no-cache libc6-compat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
RUN git clone https://github.com/SolomonLeon/web-rwkv-realweb.git
|
|
|
|
| 1 |
FROM node:20-alpine AS FrontendBuilder
|
| 2 |
RUN apk add --no-cache libc6-compat
|
| 3 |
+
|
| 4 |
+
RUN <<EOF
|
| 5 |
+
apt update
|
| 6 |
+
apt install --no-install-recommends -y \
|
| 7 |
+
build-essential \
|
| 8 |
+
git
|
| 9 |
+
apt clean && rm -rf /var/lib/apt/lists/*
|
| 10 |
+
EOF
|
| 11 |
+
|
| 12 |
WORKDIR /app
|
| 13 |
|
| 14 |
RUN git clone https://github.com/SolomonLeon/web-rwkv-realweb.git
|