Merge branch 'main' of https://demo.stam.kr/leejisun9/bio_backend
This commit is contained in:
		
							
								
								
									
										25
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -1,25 +0,0 @@
 | 
			
		||||
# ./my-spring-app/Dockerfile
 | 
			
		||||
 | 
			
		||||
# 공식 OpenJDK 이미지를 기반으로 사용
 | 
			
		||||
FROM openjdk:17-jdk-slim
 | 
			
		||||
 | 
			
		||||
# 컨테이너의 작업 디렉터리를 설정
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
# Gradle Wrapper와 빌드 파일을 컨테이너에 복사
 | 
			
		||||
COPY gradlew .
 | 
			
		||||
COPY gradle ./gradle
 | 
			
		||||
 | 
			
		||||
# 프로젝트 설정 파일들을 복사
 | 
			
		||||
COPY build.gradle .
 | 
			
		||||
COPY settings.gradle .
 | 
			
		||||
 | 
			
		||||
# 의존성을 미리 다운로드
 | 
			
		||||
RUN ./gradlew dependencies
 | 
			
		||||
 | 
			
		||||
# 소스 파일들을 복사
 | 
			
		||||
COPY src ./src
 | 
			
		||||
 | 
			
		||||
# Gradle Wrapper를 사용하여 애플리케이션을 실행
 | 
			
		||||
# 이 명령어는 docker-compose.yml에서 개발용 명령으로 덮어쓸 것입니다.
 | 
			
		||||
CMD ["./gradlew", "bootRun"]
 | 
			
		||||
@@ -48,6 +48,8 @@ dependencies {
 | 
			
		||||
	// MyBatis
 | 
			
		||||
	implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
 | 
			
		||||
 | 
			
		||||
	implementation 'org.springframework.boot:spring-boot-starter-actuator'
 | 
			
		||||
	
 | 
			
		||||
	// jwt
 | 
			
		||||
	implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
 | 
			
		||||
	runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.5'
 | 
			
		||||
 
 | 
			
		||||
@@ -113,7 +113,6 @@ springdoc.default-consumes-media-type=application/json
 | 
			
		||||
 | 
			
		||||
# ========================================
 | 
			
		||||
# 보안 설정 - 허용할 경로
 | 
			
		||||
# ========================================
 | 
			
		||||
security.permit-all-paths=/login,/members/register,/swagger-ui/**,/swagger-ui.html,/swagger-ui/index.html,/api-docs,/api-docs/**,/v3/api-docs,/v3/api-docs/**,/ws/**,/actuator/**,/actuator/health/**,/actuator/info
 | 
			
		||||
 | 
			
		||||
# 파일 업로드 설정
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user