본문 바로가기

분류 전체보기35

Windows 환경에서 Dockerfile 문법 정리 windows 환경의 docker 에서 문법을 정리합니다. 특징windows 환경에서 docker build 시 cmd 상태가 되어 powershell 같은 명령어 수행 시 그에 맞는 방식을 사용하여야 합니다.windows 명령어에서 변수 사용 시 %variableName% 형식을 사용합니다.그 외에는 docker syntax 사용 ($variableName) # Powershell 명령 수행 - nuget 복원RUN powershell -Command "nuget restore SolutionName.sln"# Powershell 명령 수행 - msbuildRUN powershell -Command "msbuild folderName/ProjectName.csproj /p:Configuration=Re.. 2024. 5. 1.
Linux, Docker, Nginx 관련 자주사용하는 명령어 정리 [Linux]Linux에서 현재 동작 중인 웹사이트와 해당 웹사이트가 사용하는 포트를 확인sudo netstat -tulpn | grep LISTENsudo ss -tulpn | grep LI.. 2024. 2. 26.
queryDsl 사용해보기 https://tecoble.techcourse.co.kr/post/2021-08-08-basic-querydsl/ 2023. 6. 21.
슬랙에서 github 구독하기 (Subscribe to github on slack) Slack 의 GitHub app 을 통해 repository 의 이벤트를 구독할 수 있다. GitHub App 추가 GitHub 구독하기 /github subscribe [owner/repo] [기본 알림 이벤트] issues - Opened or closed issues pulls - New or merged pull requests, as well as draft pull requests marked "Ready for Review" commits - New commits on the default branch (usually main) releases - Published releases deployments - Deployment status updates. You can subscribe or.. 2023. 6. 1.
[JPA] 즉시 로딩과 지연 로딩(FetchType.LAZY or EAGER) JPA Entity 에서는 항상 LAZY fetch type을 사용하고 EAGER type이 필요한 경우 JPQL 의 fetch join 을 사용하거나 [JPA] 일반 조인 vs fetch join : https://cobbybb.tistory.com/18 엔티티그래프와 어노테이션으로 해결하거나 배치 사이즈 설정으로 해결한다. fetch type 을 EAGER type 으로 설정 시 N + 1 문제가 발생될 수 있어 사용을 지양한다. https://ict-nroo.tistory.com/132 2023. 3. 6.
blocking I/O, non-blocking I/O에 대하여 (sync, async와의 차이) https://etloveguitar.tistory.com/140 2023. 2. 28.