백업용
This commit is contained in:
16
frontend/Dockerfile
Normal file
16
frontend/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# Frontend Dockerfile for Todo Project
|
||||
FROM nginx:alpine
|
||||
|
||||
# 정적 파일들을 nginx 웹 루트로 복사
|
||||
COPY . /usr/share/nginx/html/
|
||||
|
||||
# nginx 설정 파일 복사 (있는 경우)
|
||||
# COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
# 포트 80 노출
|
||||
EXPOSE 80
|
||||
|
||||
# nginx 실행
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user