feat: 开放小爱音箱补丁固件构建源代码和教程
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
FROM node:22-alpine
|
||||
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
|
||||
&& echo $TZ > /etc/timezone \
|
||||
&& apk add --no-cache \
|
||||
file \
|
||||
patch \
|
||||
python3 \
|
||||
openssl \
|
||||
squashfs-tools
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "run", "build"]
|
||||
Reference in New Issue
Block a user