John пре 8 месеци
родитељ
комит
83cf9f42d3

+ 5 - 0
README.md

@@ -4,6 +4,11 @@
 
 # dockerfile
 
+创建镜像
+```
+docker build -t hht/cashbook:v1 .
+```
+
 打包
 ```bash
 docker save -o ./newcashBookj.tar hht/cashbook:v1

+ 1 - 0
frontEndMobile/.npmrc

@@ -0,0 +1 @@
+registry=https://registry.npmmirror.com

+ 1 - 0
frontEndMobile/.yarnrc

@@ -0,0 +1 @@
+registry "https://registry.npmmirror.com"

+ 18 - 0
frontEndMobile/package.json

@@ -0,0 +1,18 @@
+{
+  "name": "frontendmobile",
+  "version": "1.0.0",
+  "main": "index.js",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "keywords": [],
+  "author": "",
+  "license": "ISC",
+  "description": "",
+  "publishConfig": {
+    "registry": "https://registry.npmmirror.com"
+  },
+  "dependencies": {
+    "vant": "^4.9.8"
+  }
+}

+ 27 - 0
frontEndMobile/yarn.lock

@@ -0,0 +1,27 @@
+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
+# yarn lockfile v1
+
+
+"@vant/popperjs@^1.3.0":
+  version "1.3.0"
+  resolved "https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz#e0eff017124b5b2352ef3b36a6df06277f4400f2"
+  integrity sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw==
+
+"@vant/use@^1.6.0":
+  version "1.6.0"
+  resolved "https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz#237df3091617255519552ca311ffdfea9de59001"
+  integrity sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA==
+
+"@vue/shared@^3.5.11":
+  version "3.5.12"
+  resolved "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.12.tgz#f9e45b7f63f2c3f40d84237b1194b7f67de192e3"
+  integrity sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg==
+
+vant@^4.9.8:
+  version "4.9.8"
+  resolved "https://registry.npmmirror.com/vant/-/vant-4.9.8.tgz#304e6751aca5c6af1b11ff5ecb0d3d4cb96bdc77"
+  integrity sha512-iP+jNzwxkCeEdTrlUjro3WoXgY32+1CldOtLSc2K8acY7hR7t1zCkjzXSR9zWjtWT7zgNL1LEXofL8O7mtkYdQ==
+  dependencies:
+    "@vant/popperjs" "^1.3.0"
+    "@vant/use" "^1.6.0"
+    "@vue/shared" "^3.5.11"

+ 1 - 0
node_expores/.npmrc

@@ -0,0 +1 @@
+registry=https://registry.npmmirror.com

+ 1 - 0
node_expores/.yarnrc

@@ -0,0 +1 @@
+registry "https://registry.npmmirror.com"

+ 2 - 2
node_expores/Dockerfile

@@ -9,10 +9,10 @@ WORKDIR /app
 
 # 将 package.json 和 yarn.lock 拷贝到容器中
 # COPY package.json yarn.lock ./
-# COPY package*.json ./
+COPY package*.json ./
 
 # 安装依赖,并设置国内镜像
-# RUN npm install --registry=https://registry.npmmirror.com
+RUN npm install
 
 # 拷贝项目的所有文件到容器中
 COPY . .