@winner-fed/winner-deploy 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,9 @@ FROM package.hundsun.com/public-docker-local/freestyle/hswealth/nginx:1.18.0-alp
|
|
|
3
3
|
|
|
4
4
|
# 使用 WORKDIR 指令可以来指定工作目录(或者称为当前目录),以后各层的当前目录就被改为指定的目录,如该目录不存在, WORKDIR 会帮你建立目录
|
|
5
5
|
WORKDIR ${name}
|
|
6
|
-
|
|
6
|
+
<% if (type === 'bizframe') { %>
|
|
7
7
|
COPY html "./"
|
|
8
|
-
|
|
8
|
+
<% } else { %>
|
|
9
|
+
COPY html/${name} "./"
|
|
10
|
+
<% } %>
|
|
9
11
|
RUN chmod -R a+x "./"
|