Skip to content

Commit

Permalink
config: Dockerfile, .dockerignore ์„ค์ •
Browse files Browse the repository at this point in the history
[#90]
  • Loading branch information
flydog98 committed Nov 21, 2023
1 parent 27e6a04 commit c83c91c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# ๋ฒ„์ „ ๊ด€๋ฆฌ ์‹œ์Šคํ…œ
.git
.gitignore

# ๋…ธ๋“œ ๋ชจ๋“ˆ
node_modules

# ๋กœ๊ทธ ํŒŒ์ผ
npm-debug.log
yarn-error.log

# ๋นŒ๋“œ ๋””๋ ‰ํ† ๋ฆฌ
dist
build

# ๊ฐœ๋ฐœ ๋„๊ตฌ ์„ค์ •
.editorconfig
*.env
*.env.local
*.env.development.local
*.env.test.local
*.env.production.local

# OS ๊ด€๋ จ ํŒŒ์ผ
.DS_Store
Thumbs.db
12 changes: 12 additions & 0 deletions packages/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:18.17.1

WORKDIR /app

COPY . .

RUN corepack enable
RUN yarn install

EXPOSE 8080

CMD ["sh", "-c", "cd packages/backend && yarn run start"]

0 comments on commit c83c91c

Please sign in to comment.