# Dockerfile用于生成应用镜像，非特殊情况请勿修改
FROM package.hundsun.com/public-docker-local/freestyle/hswealth/nginx:1.18.0-alpine-see

# 使用 WORKDIR 指令可以来指定工作目录（或者称为当前目录），以后各层的当前目录就被改为指定的目录，如该目录不存在， WORKDIR 会帮你建立目录
WORKDIR ${name}
<% if (type === 'bizframe') { %>
COPY html "./"
<% } else { %>
COPY html/${name} "./"
<% } %>
RUN chmod -R a+x "./"
