ss0510s의 개발 블로그
close
프로필 배경
프로필 로고

ss0510s의 개발 블로그

  • 분류 전체보기
    • BackEnd
      • DB
      • SpringBoot
      • Java
    • WebSocket
    • Books
      • Head First Design Pattern
    • Infra
    • AI
  • 홈
  • 태그
  • 방명록

[Infra] Spring Boot Pipeline 구축

[Infra] Spring Boot Pipeline 구축DockerfileFROM openjdk:{버전}LABEL authors="{작성자}"COPY build/libs/*.jar app.jarENTRYPOINT ["java", "-jar", "app.jar"]  backend 폴더 내에 추가Pipeline멀티브런치를 이용해 분리했을 경우, Manged File > groovy file > pipeline jenkins 파일 생성해서 작성pipeline { agent any tools { gradle "gradle" } options { disableConcurrentBuilds() }tools: 파이프라인에서 사용할 도구를 정의, gradle 도구 사..

  • format_list_bulleted Infra
  • · 2024. 5. 25.
  • textsms
[Infra] React Pipeline 구축

[Infra] React Pipeline 구축

[Infra] React Pipeline 구축Dockerfile## 1. Build React AppFROM node:alpine as builderWORKDIR /appCOPY package*.json .RUN npm ci --forceCOPY . .RUN npm run build## 2. React를 Nginx로 ServeFROM nginx:latestRUN rm /etc/nginx/conf.d/default.confCOPY ./nginx.conf /etc/nginx/conf.dRUN ls -alWORKDIR /usr/share/nginx/htmlCOPY --from=builder /app/dist /usr/share/nginx/htmlEXPOSE 80CMD ["nginx", "-g", "daemon..

  • format_list_bulleted Infra
  • · 2024. 5. 25.
  • textsms
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • 분류 전체보기
    • BackEnd
      • DB
      • SpringBoot
      • Java
    • WebSocket
    • Books
      • Head First Design Pattern
    • Infra
    • AI
최근 글
인기 글
최근 댓글
태그
  • #Jenkins
  • #Pipeline
  • #java21
  • #Infra
  • #Head First Design Pattern
  • #STOMP
  • #react
  • #head first desgin pattern
  • #mongoDB
  • #spring boot
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바