Skip to content

Commit

Permalink
Merge pull request #35 from brklntmhwk/34-fix-the-wrangler-not-found-…
Browse files Browse the repository at this point in the history
…error

chore(docker): 🤖 remove the installation part of wrangler
  • Loading branch information
brklntmhwk authored Aug 9, 2024
2 parents 2fc8f1e + acc6c6c commit c13ea04
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ COPY package.json bun.lockb ./
# Install dependencies
RUN bun install

# Set up local DB
RUN bun --bun run db:migrate:local

############################################################################
# Builder Stage
# Build the project
Expand All @@ -34,9 +31,6 @@ FROM base AS builder
# Copy dependencies
COPY --from=cacher /$PROJECT_DIR/node_modules node_modules

# Copy wrangler dir
COPY --from=cacher /$PROJECT_DIR/.wrangler .wrangler

# Copy the project
COPY . .

Expand Down
Binary file modified bun.lockb
Binary file not shown.
11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@ services:
volumes:
- project-data:/workspace:consistent
# - .:/workspace:cached
# - node-modules-data:/workspace/node_modules
user: dev
db:
container_name: younagi-db
image: sqlite:latest
volumes:
- db-data:/var/lib/sqlite/data
ports:
- "5432:5432"
restart: unless-stopped
volumes:
project-data:
# node-modules-data:
db-data:
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@vanilla-extract/css": "^1.15.2",
"@vanilla-extract/css-utils": "^0.1.4",
"@vanilla-extract/vite-plugin": "^4.0.10",
"better-sqlite3": "^11.0.0",
"better-sqlite3": "^11.1.2",
"browserslist": "^4.23.0",
"danger": "^12.3.3",
"drizzle-kit": "^0.23.0",
Expand Down

0 comments on commit c13ea04

Please sign in to comment.