This commit is contained in:
Luk Lu
2023-04-04 18:20:26 +08:00
parent ca0c7fcffc
commit 83dc20e502
10 changed files with 27 additions and 24 deletions

View File

@@ -1,9 +1,9 @@
FROM node:16.18-bullseye
FROM arm64v8/node:16.18-bullseye
LABEL org.opencontainers.image.authors="luk"
RUN npm i -g --registry https://registry.npm.taobao.org @vue/cli@4
RUN cd / && echo -e "\n" | vue create --registry https://registry.npm.taobao.org -p dcloudio/uni-preset-vue uniapp-cli
# 上一行自动选择了第一个空模板,因此需要额外按照 sass
# 上一行自动选择了第一个空模板,因此需要额外安装 sass
RUN cd /uniapp-cli && npm i -D --registry https://registry.npm.taobao.org sass@1.49.8 sass-loader@8.0.2
EXPOSE 8080