FROM image.ibizlab.cn/library/nginx-dynamic:v5.4 WORKDIR / COPY dist /dist COPY environment.config / RUN sed -i "s#20086#30086#g" /etc/nginx/conf.d/nginx.conf RUN sed -i "/server_name/a \ keepalive_time 3600;" /etc/nginx/conf.d/nginx.conf