You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
352 B
Plaintext
16 lines
352 B
Plaintext
# 基础镜像
|
|
FROM nginx
|
|
# author
|
|
MAINTAINER ruoyi
|
|
|
|
# 挂载目录
|
|
VOLUME /home/ruoyi/projects/hw-ui
|
|
# 创建目录
|
|
RUN mkdir -p /home/ruoyi/projects/hw-ui
|
|
# 指定路径
|
|
WORKDIR /home/ruoyi/projects/hw-ui
|
|
# 复制conf文件到路径
|
|
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
|
# 复制html文件到路径
|
|
COPY ./html/dist /home/ruoyi/projects/hw-ui
|