build templates add
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
# Nginx 기반 Docker 이미지
|
||||
FROM nginx:alpine
|
||||
|
||||
# 기본 Nginx 설정 제거
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Unity WebGL 빌드 파일 복사
|
||||
COPY ./Build /usr/share/nginx/html/Build
|
||||
COPY ./TemplateData /usr/share/nginx/html/TemplateData
|
||||
#COPY ./index.html /usr/share/nginx/html/
|
||||
COPY ./index-full.html /usr/share/nginx/html/index.html
|
||||
|
||||
# Nginx 커스텀 설정 복사
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# 포트 공개
|
||||
EXPOSE 80
|
||||
|
||||
# Nginx 실행
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
Reference in New Issue
Block a user