10 lines
272 B
Docker
10 lines
272 B
Docker
FROM nginx
|
|
LABEL maintainer="信息中心研发组 <user@itcast.cn>"
|
|
|
|
COPY ./dist/ /usr/share/nginx/html/
|
|
RUN chmod -R 777 /usr/share/nginx/html/
|
|
|
|
RUN chmod -R 777 /etc/nginx/conf.d/default.conf
|
|
COPY ./default.conf /etc/nginx/conf.d/
|
|
|
|
CMD ["nginx", "-g", "daemon off;"] |