Skip to content

Commit

Permalink
Merge pull request feedoong#180 from feedoong/feature/workflow
Browse files Browse the repository at this point in the history
Fix: 모노레포로 변경 됨에 따라 배포파이프라인 설정 변경
  • Loading branch information
eunsonny authored Feb 15, 2024
2 parents 3fb30f1 + db5bb51 commit 167e128
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ jobs:
- name: Build and Push Docker Image for ARM64
uses: docker/build-push-action@v2
with:
context: ./apps/next-app
context: ./
file: ./apps/next-app/Dockerfile
push: true
tags: jamessoun93/feedoong-frontend:latest
platforms: linux/arm64/v8

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ next-env.d.ts
!.yarn/releases
!.yarn/sdks
!.yarn/versions

11 changes: 6 additions & 5 deletions apps/next-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
FROM node:16.18.0-alpine
FROM node:20-alpine

WORKDIR /app

COPY package* yarn.lock .pnp* ./
COPY ./apps/next-app/package* ./
COPY yarn.lock .pnp* ./
COPY .yarnrc.yml ./
COPY .yarn .yarn

RUN yarn install --immutable
RUN yarn install

COPY . .
COPY ./apps/next-app .

RUN yarn build
RUN yarn build

EXPOSE 3000

Expand Down

0 comments on commit 167e128

Please sign in to comment.