-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MATE-139 : [FEAT] 도커파일에 크롬 및 크롬드라이버 설치 (#121)
* MATE-139 : [FEAT] 도커파일에 크롤링 관련 패키지 설치 * MATE-139 : [FEAT] 크롤링 환경 확인을 위해 임의로 deploy.yml 조정 * MATE-139 : [FEAT] deploy.yml 수정
- Loading branch information
Showing
3 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
branches: | ||
- develop | ||
|
||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
FROM eclipse-temurin:17-jdk-alpine | ||
|
||
# Redis 설치 | ||
RUN apk add --no-cache redis | ||
# Redis와 크롤링에 필요한 패키지 설치 | ||
RUN apk add --no-cache \ | ||
redis \ | ||
chromium \ | ||
chromium-chromedriver \ | ||
nss \ | ||
freetype \ | ||
harfbuzz | ||
|
||
COPY ./build/libs/*SNAPSHOT.jar project.jar | ||
ENTRYPOINT redis-server & java -jar project.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters