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
483 B
Docker
19 lines
483 B
Docker
# 设置基础镜像
|
|
FROM rasa_dev:1.1.0
|
|
|
|
|
|
COPY ./docs/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
|
|
|
# 设置工作目录
|
|
WORKDIR /data/vp
|
|
|
|
# 复制java jar 到容器中
|
|
#COPY target/virtual-patient-rasa-1.0-SNAPSHOT.jar /data/vp/virtual-patient-rasa-1.0-SNAPSHOT.jar
|
|
# 复制rasa配置文件到 rasa目录下
|
|
COPY docs/rasa /rasa
|
|
RUN rm -f /rasa/config-local.yml
|
|
|
|
# 暴漏服务端口
|
|
EXPOSE 8890
|
|
# 设置启动命令
|
|
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |