MiniMaxReferralHub/Dockerfile
Chever John 9454359cd2
Initializes Docker setup for the project
Establishes a containerized development and production environment.

Creates Dockerfiles, docker-compose configurations, and associated scripts.

Prioritizes easy setup, dependency isolation, and platform consistency.
Enhances dev experience and simplifies deployment.
2025-08-26 21:45:40 +08:00

13 lines
296 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Production runtime image; 前端已在宿主机构建Makefile: build
FROM nginx:1.27-alpine
# 拷贝 nginx 配置,启用 SPA fallback
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 拷贝构建产物
COPY dist/ /usr/share/nginx/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]