Skip to content

Commit df447f5

Browse files
authored
Merge pull request #3551 from codecrafters-io/add-dockerfile-and-environment-json
Add Dockerfile and environment.json for application containerization setup.
2 parents 2e9bdf8 + eee73ba commit df447f5

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.cursor/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM oven/bun:1.3.5
2+
3+
WORKDIR /app
4+
5+
# Install dependencies
6+
COPY package.json bun.lock ./
7+
RUN bun install
8+
9+
# Add the rest of the application
10+
COPY . .

.cursor/environment.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"build": {
3+
"dockerfile": "Dockerfile"
4+
},
5+
"install": "bun install"
6+
}

0 commit comments

Comments
 (0)