개별 COPY 대신 와일드카드 사용으로 모든 HTML 파일 nginx에 포함 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 lines
188 B
Docker
7 lines
188 B
Docker
FROM nginx:alpine
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY *.html /usr/share/nginx/html/
|
|
COPY static/ /usr/share/nginx/html/static/
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|