백업용
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;"]
|
||||
|
||||
|
||||
@@ -650,3 +650,5 @@
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
@@ -102,3 +102,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -163,3 +163,5 @@ const TodoAPI = {
|
||||
window.api = api;
|
||||
window.AuthAPI = AuthAPI;
|
||||
window.TodoAPI = TodoAPI;
|
||||
|
||||
|
||||
|
||||
@@ -137,3 +137,5 @@ function showLoading(show) {
|
||||
window.currentUser = currentUser;
|
||||
window.logout = logout;
|
||||
window.showLoading = showLoading;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user