Signed-off-by: Logaxn <logaxn@foxmail.com>

This commit is contained in:
Logaxn
2019-03-16 19:15:35 +08:00
parent ddd18d6a00
commit 92dac9c4fe
2 changed files with 4 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ RUN yarn run build:prod
WORKDIR dist
# GZIP=-9
# 设置压缩级别
RUN GZIP=-9 tar -pzcf ../dist.tgz *
# https://docs.docker.com/develop/develop-images/multistage-build/