parent
e0fcd9f59c
commit
5561abb619
@ -1,5 +1,8 @@
|
||||
FROM nginx:1.12
|
||||
|
||||
# set timezome
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
COPY ./docker/conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY ./docker/conf/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY ./dist /var/www/html
|
||||
Loading…
Reference in new issue