12 lines
216 B
Docker
12 lines
216 B
Docker
FROM nginx:latest
|
|
|
|
# 复制nginx配置文件
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY ai-services.conf /etc/nginx/conf.d/ai-services.conf
|
|
|
|
# 暴露端口
|
|
EXPOSE 80
|
|
|
|
# 启动nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|