22301014 | 6abadd7 | 2025-06-05 14:21:13 +0800 | [diff] [blame] | 1 | # 生产环境 |
22301023 | 71ee1c9 | 2025-06-05 16:18:32 +0800 | [diff] [blame] | 2 | FROM nginx:1.25-alpine |
22301014 | 102db11 | 2025-06-06 12:38:04 +0800 | [diff] [blame^] | 3 | COPY dist /usr/share/nginx/html |
22301014 | 6abadd7 | 2025-06-05 14:21:13 +0800 | [diff] [blame] | 4 | COPY 50x.html /usr/share/nginx/html |
5 | COPY nginx.conf /etc/nginx/conf.d/default.conf | ||||
6 | EXPOSE 80 | ||||
7 | CMD ["nginx", "-g", "daemon off;"] |