Skip to content

Commit

Permalink
Add Dockerfile.development
Browse files Browse the repository at this point in the history
  • Loading branch information
seheon99 committed Mar 29, 2024
1 parent b9055d1 commit a8e5e45
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.next
.vscode
.yarn
node_modules

!.yarn/releases
15 changes: 15 additions & 0 deletions Dockerfile.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:21-alpine
WORKDIR /app

RUN apk add --no-cache libc6-compat

COPY .yarn/releases ./.yarn/releases
COPY package.json yarn.lock .yarnrc.yml ./

RUN yarn install

COPY . ./

EXPOSE 3000

CMD ["yarn", "dev"]

0 comments on commit a8e5e45

Please sign in to comment.