[박재성] sprint11#84
Merged
Hidden character warning
The head ref may contain hidden characters: "\ubc15\uc7ac\uc131-sprint11"
Merged
Conversation
b179105 to
5dea935
Compare
5dea935 to
be94f58
Compare
O-Seonsik
reviewed
Oct 21, 2025
| FROM node:${NODE_VERSION}-slim AS runtime | ||
|
|
||
| # openssl 설치 | ||
| RUN apt-get update -y && apt-get install -y openssl |
Collaborator
There was a problem hiding this comment.
이거 중복 될 필요 없을 것 같은데 혹시 다른 이유가 있었나요 ??
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ 요구사항
Github Actions 활용
브랜치에 pull request가 발생하면 테스트를 실행하는 액션을 구현해 주세요.
.github/workflows/test.ymlmain 브랜치에 push가 발생하면 AWS 배포를 진행하는 액션을 구현해 주세요.
.github/workflows/deploy.yml개인 Github 리포지터리에서 Actions 동작을 확인해 보세요.
Docker 이미지 만들기
Express 서버를 실행하는 Dockerfile을 작성해 주세요.
Dockerfile- Node.js 22 빌드, PM2 프로세스 관리Express 서버가 파일 업로드를 처리하는 폴더는 Docker의 Volume을 활용하도록 구현해 주세요.
docker-compose.yaml-uploads-volume:/app/uploads볼륨 사용데이터베이스는 Postgres 이미지를 사용해 연결하도록 구현해 주세요.
실행된 Express 서버 컨테이너는 호스트 머신에서 3000번 포트로 접근 가능하도록 구현해 주세요.
docker-compose.yaml- 포트 매핑3000:3000설정참고사항
이번 미션과 별개로 npm run test의 시딩 동시 실행 문제 때문에 globalSetup으로 한번만 시딩되도록 설정하고 테스트코드를 그에 맞게 수정했습니다.