FROM nginx:alpine # 정적 파일 복사 COPY . /usr/share/nginx/html/ # 디렉토리 권한 보정 (macOS에서 복사 시 700이 되는 문제 방지) RUN find /usr/share/nginx/html -type d -exec chmod 755 {} + COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]