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.
19 lines
391 B
Docker
19 lines
391 B
Docker
# 设置基础镜像
|
|
# 在137服务器中使用的是 rasa_dev:1.0.0镜像
|
|
FROM nginx:1.25
|
|
|
|
ENV APP_HOME=/data/vp
|
|
|
|
# 设置工作目录
|
|
WORKDIR $APP_HOME
|
|
|
|
# 复制java jar 到容器中
|
|
COPY ./docs/conf.d /etc/nginx/conf.d
|
|
# 复制rasa配置文件到 rasa目录下
|
|
COPY ./docs/ssl /data/vp/nginx/ssl
|
|
|
|
# 暴漏服务端口
|
|
EXPOSE 80 443
|
|
|
|
# 设置启动命令
|
|
CMD ["nginx","-g","daemon off;"] |