11 lines
378 B
Docker
11 lines
378 B
Docker
## 前端公共镜像
|
|
FROM ccr.xc01.cloud.sat.tax/goff/arm-webnginx:latest
|
|
COPY /devops/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
|
|
WORKDIR /app
|
|
COPY ./ /app
|
|
#ADD tsf-consul-template-docker.arm /root/
|
|
ADD dist /usr/local/openresty/nginx/html
|
|
|
|
# 修改host文件
|
|
CMD ["sh", "-ec", "/usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf "]
|